 The smallest such multiple is 31251, so N = 3125 – 4 = 3121; the number left in the morning comes to 1020, which is evenly divisible by 5 as required.A simple succinct solution can be obtained by directly utilizing the recursive structure
of the problem