A fruit seller had some apples. He sold 40% of he apples and still has 420 apples left. How many apples did he have initially?