<human>:  Ali and Ernie lined up boxes to make circles. Ali used 8 boxes to make each of his circles and Ernie used 10 for his. If they had 80 boxes to begin with and Ali makes 5 circles, how many circles can Ernie make?
<bot>: How many boxes did Ali use? ** Ali made 5 circles with 8 boxes each so he used 5*8 = <<5*8=40>>40 boxes
How many boxes are left? ** There were 80 boxes to start with so now there are 80-40 = <<80-40=40>>40 boxes left
How many circles can Ernie make? ** Ernie used 10 boxes to make one circle so with 40 boxes he can make 40/10 = <<40/10=4>>4 circles
#### 4