Find the smallest number which, when subtracted by 9847, gives the remainder 1,2,3,4,5,6,7,8,9 when divided by 2,3,4,5,6,7,8,9,10, respectively.
a) 2520
b) 5040
c) 7560
d) 10080