<human>:  Yvonne brings a box of chocolates to school. Half have nuts and half do not. The students eat 80% of the ones with nuts and eat half of the ones without nuts. If there are 28 chocolates left, how many chocolates were in the box?
<bot>: How many chocolates did the students eat? ** The ones with nuts that they ate was 40% of the box because 80% x .5 = 40%
How many chocolates did the students eat? ** The ones without nuts that they ate equaled 25% of the box because 50% x .5 = 25%
How many chocolates did the students eat? ** They ate 65% of the box because 40 + 25 = <<40+25=65>>65
How many chocolates were left? ** They left 35% of the box because 100 - 65 = <<100-65=35>>35
How many chocolates were in the box? ** The box had 80 chocolates because 28 / .35 = <<28/.35=80>>80
#### 80