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? Let's think first. Chain of thought:
User
Randy has 5 * 4 = 20 dollars left after buying lunch. Randy had 20 + 10 = 30 dollars at first.
Therefore, the answer is 30.
Assistant