Jamie went on a vacation with his family. He spent 32.25% of the total cost on the airline tickets, of the total cost on hotels, and 12.75% of the total cost on food. If he spent of the remaining amount on shopping, what percentage of the total cost was spent on shopping?