Agatha spends 15+25=<<15+25=40>>40 dollars.

Agatha had 40+20=<<40+20=60>>60 dollars at first.

# Answer

60
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Agatha has some money to spend on a new bike. She spends $15 on the frame, and $25 on the front wheel. If she has $20 left to spend on a seat and handlebar tape, how much money, in dollars, did she have at first?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
60
Agatha has some money to spend on a new bike. She spends $15 on the frame, and $25 on the front wheel. If she has $20 left to spend on a seat and handlebar tape, how much money, in dollars, did she have at first?
train