Allyn is a golfer. At the starting tee, he hit the golf ball and it traveled 180 yards straight toward the hole.  On his second turn, he hit the ball again straight toward the hole and it traveled half as far as it did on his first turn, but the ball landed 20 yards beyond the hole.  On his third swing, he hit the ball onto the green and it rolled into the hole.  What is the distance, in yards, from the starting tee to the hole? Let's think step by step and output the final answer after "####".
user
On his second turn, the ball traveled 180/2=<<180/2=90>>90 yards.
After two turns, the ball had traveled 180+90=<<180+90=270>>270 yards.
Since, after the second turn, the ball was 20 yards past the hole, this means the distance from the starting tee to the hole was 270-20=<<270-20=250>>250 yards.
#### 250
Allyn is a golfer. At the starting tee, he hit the golf ball and it traveled 180 yards straight toward the hole.  On his second turn, he hit the ball again straight toward the hole and it traveled half as far as it did on his first turn, but the ball landed 20 yards beyond the hole.  On his third swing, he hit the ball onto the green and it rolled into the hole.  What is the distance, in yards, from the starting tee to the hole?
train