One evening, Mr. Smith, Sam, and Sydney went to see the Myrtle Beach Pelicans’ Game. They each bought a ticket and a hat that cost $10 each. How much was each ticket to enter the ballpark?