There are 22 students in a 6th grade class. For the class field trip, they went to the local museum. Admission to the museum was $7 a person. After going to the museum, they went to the art festival. Admission to the art festival was $4 a person. Each student paid $12 for the field trip and the bus. What is the total amount of money the teacher collected from the students?