There were 600 people staying in a hotel. Each has to pay a rent of $36 for one day. Out of 600 people 200 stayed for 2 days and rest of them stayed for 3 days. Find the total amount of money earned by the hotel. (Hint: What will be the rent paid by a person for staying for 2 days? What will be he rent paid by a person for staying for 3 days in the hotel?)