Kenny played 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. If he practiced on the trumpet for 40 hours, how many hours did Kenny play basketball last week? Let's think step by step and output the final answer after "####".
user
Kenny ran for 40/2=<<40/2=20>>20 hours.
Kenny played basketball for 20/2=<<20/2=10>>10 hours.
#### 10
Kenny played 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. If he practiced on the trumpet for 40 hours, how many hours did Kenny play basketball last week?
train