prompt: 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?
messages.content: 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?
messages.role: user
messages.content: 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.
  #### 40
messages.role: assistant