A class trip cost a total of $414, including a museum ticket and lunch for each student. Three students were sick on the day of the trip and did not attend, so the total cost dropped to $360. How many students went on the trip?

I WILL GIVE BRAINLIEST FOR EXPLAINATION!!!!!!!!