Oliver is working out in a gym. On Monday he worked out for 4 hours, and the next day for 2 hours less. On Wednesday he decided to work out twice as much as on Monday. On Thursday the gym was closed, so Oliver needed to exercise at home which took twice as much time as on Tuesday. How many hours in total have Oliver worked out during these four days? Let's think step by step and output the final answer after "####".
user
On Tuesday, Oliver worked out for 4 - 2 = <<4-2=2>>2 hours.
On Wednesday he decided to work out twice as much as on Monday, so for 2 * 4 = <<2*4=8>>8 hours.
On Thursday, at home, Oliver trained twice as much as on Tuesday, so for 2 * 2 = <<2*2=4>>4 hours.
In total Oliver trained for 4 + 2 + 8 + 4 = <<4+2+8+4=18>>18 hours.
#### 18
Oliver is working out in a gym. On Monday he worked out for 4 hours, and the next day for 2 hours less. On Wednesday he decided to work out twice as much as on Monday. On Thursday the gym was closed, so Oliver needed to exercise at home which took twice as much time as on Tuesday. How many hours in total have Oliver worked out during these four days?
train