There are two factories employing 100 and 80 men, respectively. If the arithmetic mean of their monthly salaries are Rs 575 and Rs 625, then find the arithmetic mean of the salaries of both the factories together.