Apollo pulls the sun across the sky every night. Once a month, his fiery chariot’s wheels need to be replaced. He trades golden apples to Hephaestus the blacksmith to get Hephaestus to make him new wheels. Hephaestus raised his rates halfway through the year and now demands twice as many golden apples as before. He charged three golden apples for the first six months. How many golden apples does Apollo have to pay for the entire year of chariot wheels?
Apollo had to pay 3 * 6 = <<3*6=18>>18 golden apples for the first six months.
For the second six months, he had to pay twice that amount, or 18 * 2 = <<18*2=36>>36 golden apples.
Thus, Apollo had to pay 18 + 36 = <<18+36=54>>54 golden apples for a year of chariot wheels.
#### 54
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
You are solving math problems. Here are some examples of how to solve the task:

Joe saves $6,000 for his trip to Australia. If he spends $1,200 on the flight, $800 on a hotel, and $3,000 on food, how much money, in dollars, does he have left?Joe spends 1200+800+3000=<<1200+800+3000=5000>>5000 dollars.
Joe has 6000-5000=<<6000-5000=1000>>1000 dollars left.
#### 1000[END]

Max fills up water balloons for 30 minutes at a rate of 2 water balloons every minute. Max’s friend Zach fills up water balloons for 40 minutes at a rate of 3 water balloons every minute. In the process, 10 of the water balloons pop on the ground. How many filled water balloons do Max and Zach have in total?Max fills 30 * 2 = <<30*2=60>>60 water balloons
Zach fills 40 * 3 = <<40*3=120>>120 water balloons
Max and Zach have a total of 60 + 120 - 10 = <<60+120-10=170>>170 water balloons
#### 170[END]

Now, solve this next question in the style of the above examples:

Apollo pulls the sun across the sky every night. Once a month, his fiery chariot’s wheels need to be replaced. He trades golden apples to Hephaestus the blacksmith to get Hephaestus to make him new wheels. Hephaestus raised his rates halfway through the year and now demands twice as many golden apples as before. He charged three golden apples for the first six months. How many golden apples does Apollo have to pay for the entire year of chariot wheels?

### Response:
Apollo had to pay 3 * 6 = <<3*6=18>>18 golden apples for the first six months.
For the second six months, he had to pay twice that amount, or 18 * 2 = <<18*2=36>>36 golden apples.
Thus, Apollo had to pay 18 + 36 = <<18+36=54>>54 golden apples for a year of chariot wheels.
#### 54