In addition to his other expenses, John decided to buy twenty raffle tickets for a charity event. Each ticket cost the same as the total amount of money he had spent earlier. How much money did John spend on the raffle tickets?