One year ago, the ratio between Ram and Shyam's salary was 3:4. The ratios of their individual salaries between last year's and this year's salaries are 4:5 and 2:3 respectively. at present the total of their salary is Rs 4160. The salary of Ram is...?