A class used vans and buses to go on a field trip. They used 8 vehicles to go on the trip. Each van holds 11 students and each bus holds 35 students. If 160 students went on the trip, then how many of each type of vehicle did the class use?