How many numbers are there between 0 and 1000 which on division by 2, 4, 6, 8 leave remainders 1, 3, 5, 7 respectively?
21
40
41
39