Randy has 5*4=<<5*4=20>>20 dollars left after buying lunch.

Randy had 20+10=<<20+10=30>>30 dollars at first.

# Answer

30
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Randy has some money. He spent $10 buying his lunch. He spent a quarter of the money he had left on an ice cream cone. If the ice cream cone cost $5, what is the amount of money, in dollars, Randy had at first?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
30
Randy has some money. He spent $10 buying his lunch. He spent a quarter of the money he had left on an ice cream cone. If the ice cream cone cost $5, what is the amount of money, in dollars, Randy had at first?
train