The average monthly salary of 12 workers and 3 managers in a factory was Rs.600. When one of the managers whose salary was Rs.720, was replaced with a new manager, the average salary of the team went down to Rs.580. What is the salary of the new manager?