The salaries received by employees of a company are
10500, 16140, 22300, 15960, 14150, 12180, 13230, 15760, 31000
and the position in the hierarchy of each employee is indicated by a corresponding category thus
1, 2, 3, 2, 1, 1, 1, 2, 3
Write a program to find the total cost to the company of increasing the salary of people in categories 1, 2 and 3 by 5%, 4% and 2% respectively.