After giving a box to his mom, Seth had 4*2=<<4*2=8>>8 boxes left.

Seth bought 8+1=<<8+1=9>>9 boxes of oranges.

# Answer

9
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
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?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
9
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?
train