Suppose that the fruit seller initially had 100 apples.
Apples sold = 40
∴ Remaining apples = (100 − 40) = 60
Initial amount of apples if 60 of them are remaining = 100
Initial amount of apples if 1 of them is remaining =
Initial amount of apples if 420 of them are remaining = = 700
Hence, the fruit seller originally had 700 apples.