Kenny played 10 hours of basketball last week. He ran for twice as long as he played basketball, and he practiced on the trumpet for twice as long as he ran. How many hours did Kenny practice on the trumpet last week? Let's think step by step and output the final answer after "####".
user
Kenny ran for 10*2=<<10*2=20>>20 hours.
Kenny practiced the trumpet for 20*2=<<20*2=40>>40 hours.
#### 40
Kenny played 10 hours of basketball last week. He ran for twice as long as he played basketball, and he practiced on the trumpet for twice as long as he ran. How many hours did Kenny practice on the trumpet last week?
train