Tim has 22 cans of soda. Jeff comes by, and takes 6 cans of soda from Tim. Tim then goes and buys another half the amount of soda cans he had left. How many cans of soda does Tim have in the end? Let's think step by step and output the final answer after "####".
user
After Jeff comes by, Tim has 22-6=<<22-6=16>>16 cans left.
Tim buys 16/2=<<16/2=8>>8 more cans.
Tim has 16+8=<<16+8=24>>24 cans in the end.
#### 24
Tim has 22 cans of soda. Jeff comes by, and takes 6 cans of soda from Tim. Tim then goes and buys another half the amount of soda cans he had left. How many cans of soda does Tim have in the end?
train