Four car rental agencies A, B, C and D rented a plot for parking their cars during the night. A parked 15 cars for 12 days, B parked 12 cars for 20 days, C parked 18 cars for 18 days and D parked 16 cars for 15 days. If A paid Rs. 1125 as rent for parking his cars, what is the total rent paid by all the four agencies?