Randy spends 2*4=<<2*4=8>>8 dollars every month.

Randy spends 8*12=<<8*12=96>>96 dollars in a year.

Randy had 96+104=<<96+104=200>>200 dollars in his piggy bank at first.

# Answer

200
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Randy has some money in his piggy bank. He spends 2 dollars every time he goes to the store. He makes 4 trips to the store every month. If he had $104 dollars left in his piggy bank after a year, how much money, in dollars, did he have at first?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
200
Randy has some money in his piggy bank. He spends 2 dollars every time he goes to the store. He makes 4 trips to the store every month. If he had $104 dollars left in his piggy bank after a year, how much money, in dollars, did he have at first?
train