Out of 10 persons, 9 persons spent Rs.40 each for their snacks. The tenth person spent Rs. 18 more than the average expenditure of all ten. The total money spent by all of them was:

a) Rs. 432
b) Rs. 450
c) Rs. 468
d) Rs. 486