Question 17
A teacher organised an outing for her students. The outing costs T dollars, regardless of how many students participated. This cost will be shared equally among the participants. If all her students were to participate, each student would pay a whole number of dollars. After the teacher announced how much each student would pay, there were 4 students who decided to withdraw. Without these four students, each of the remaining students would still pay a whole number of dollars. However, on the day of the outing, another 2 students were sick and absent. As these 2 sick students did not participate, each student who participated in the outing had to fork out an additional 3 dollars. If the teacher has between 24 and 40 students (inclusive), find T, the total cost of the outing in dollars.