Ben has 4 x 10 = <<4*10=40>>40 basketball cards.

His mother gave him 5 x 8 = <<5*8=40>>40 baseball cards.

Thus, Ben has 40 + 40 = <<40+40=80>>80 cards in all.

Therefore, Ben has 80 - 58 = <<80-58=22>>22 cards left.

# Answer

22
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Ben has four boxes with ten basketball cards in each box. His mother gave him five boxes with eight baseball cards.  If he gives 58 cards to his classmates, how many cards does he has left?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
22
Ben has four boxes with ten basketball cards in each box. His mother gave him five boxes with eight baseball cards.  If he gives 58 cards to his classmates, how many cards does he has left?
train