prompt: Amanda had 7 candy bars. She gave 3 to her sister. The next day, Amanda won some prize money and bought another 30 candy bars. She gave her sister 4 times as many candy bars as she did the first time. How many candy bars did Amanda keep for herself altogether?
messages.content: Amanda had 7 candy bars. She gave 3 to her sister. The next day, Amanda won some prize money and bought another 30 candy bars. She gave her sister 4 times as many candy bars as she did the first time. How many candy bars did Amanda keep for herself altogether?
messages.role: user
messages.content: Amanda has 7 - 3 = <<7-3=4>>4 candy bars.
  Amandy gives her sister 4 x 3 = <<4*3=12>>12 candy bars.
  She has 30 - 12 = <<30-12=18>>18 candy bars remaining.
  In total she keeps 18 + 4 = <<18+4=22>>22 candy bars.
  #### 22
messages.role: assistant