Two men X and Y started working for a certain company at similar jobs on January 1, 1950. X asked for an initial salary of Rs. 300 with an annual increment of Rs. 30. Y asked for an initial salary of Rs. 200 with a rise of Rs. 15 every 6 months. Assume that the arrangements remained unaltered till December 31, 1959. Salary is paid on the last day of the month. What is the total amount paid to them as salary during the period