The total amount of money saved is $27 + $14 + $21 = $<<27+14+21=62>>62.

The total amount spent on books and new shoes is $5 + $17 = $<<5+17=22>>22.

Tina has $62 − $22 = $40 left.

# Answer

40
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Tina saved $27 in June, $14 in July, and $21 in August. Then Tina spent $5 on books and $17 on new shoes. How much money does Tina have left?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
40
Tina saved $27 in June, $14 in July, and $21 in August. Then Tina spent $5 on books and $17 on new shoes. How much money does Tina have left?
train