Tom is saving money to buy a game. So far he has saved $18, which is two-thirds of the total cost of the game. How much does the game cost?