A fruit-seller had some apples. He sells 40% of them and still has 420 apples. Find the number of apples he had originally.