<human>:  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?
<bot>: After Jeff comes by, how many cans of soda does Tim have left? ** After Jeff comes by, Tim has 22-6=<<22-6=16>>16 cans left.
How many more cans does Tim buy? ** Tim buys 16/2=<<16/2=8>>8 more cans.
How many cans of soda does Tim have in the end? ** Tim has 16+8=<<16+8=24>>24 cans in the end.
#### 24