The cost of the jerseys is 5 jerseys × $2/jersey = $<<5*2=10>>10.

The total cost of the jerseys, the basketball, and the shorts is $10 + $18 + $8 = $<<10+18+8=36>>36.

Jeremy has $50 - $36 = $<<50-36=14>>14 left.

# Answer

14
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Jeremy's uncle gave him $50 to spend on basketball equipment. He bought 5 jerseys that cost $2 each, a basketball that cost $18, and a pair of shorts that cost $8. How much money does Jeremy have left?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
14
Jeremy's uncle gave him $50 to spend on basketball equipment. He bought 5 jerseys that cost $2 each, a basketball that cost $18, and a pair of shorts that cost $8. How much money does Jeremy have left?
train