human
Seth bought some boxes of oranges. He gave a box to his mother. He then gave away half of the remaining boxes. If Seth has 4 boxes of oranges left, how many boxes did he buy in the first place?
assistant
How many boxes did Seth have left after giving a box to his mom? ** After giving a box to his mom, Seth had 4*2=<<4*2=8>>8 boxes left.
How many boxes did Seth buy in the first place? ** Seth bought 8+1=<<8+1=9>>9 boxes of oranges.
#### 9