A fruit-seller had some apples.He sells 40% of them and still has 420 apples

A fruit-seller had some apples.He sells 40% of them and still has 420 apples

60% of x= 420
60/100x = 420
60x = 42000
x = 42000/60
= 700
So he had 700 apples in total