Four friends are planning a party at a skating rink the friends must pay 3$ for each person attending the party. They will also spend $36 on snacks. If each friend contributes 21$ to pay for the part, what is the maximum number of people that can attend the party?