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?
After giving a box to his mom, Seth had 4*2=
<gadget id="calculator">4*2</gadget>
<output>8</output>
8 boxes left.
Seth bought 8+1=
<gadget id="calculator">8+1</gadget>
<output>9</output>
9 boxes of oranges.

<result>9</result>