<human>:  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?
<bot>: How many candy bars does Amanda have? ** Amanda has 7 - 3 = <<7-3=4>>4 candy bars.
How many candy bars does Amanda give to her sister? ** Amandy gives her sister 4 x 3 = <<4*3=12>>12 candy bars.
How many candy bars does Amanda have left? ** She has 30 - 12 = <<30-12=18>>18 candy bars remaining.
How many candy bars does Amanda keep altogether? ** In total she keeps 18 + 4 = <<18+4=22>>22 candy bars.
#### 22