Price per visitor is $5; Price per member is $3.50
You are to do the following
- Identify all banned visitors with a filter call
- Determine the memberships status of all applicants
- Calculate the total price for all eligible visitors
- For each valid visitor, return a corresponding ticket in Dictionary form
- Return an error via thrown exception if applicants is empty
Complete everything above in a function called processRequest