student-name

Dylan asked in Math

A fruit seller bought some apples from the supplier at 60 cents each.He found that 10 of the apples were spoiled and threw them away.He sold the rest at $1 each.If he still managed to earn a profit of $12,how many apples did he buy from the supplier?(This is a math Olympiad P5 question and it's really hard)

Thank You