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