A museum opens at 8.00am in the first hour, 350 people purchased admission tickets. In the second hour, 20% more people purchased admission tickets purchased than in the first hour. Each admission ticket cost $17.50.

What was the total amount of money paid for all the tickets purchased in the first two hours?