The indoor climbing gym is a popular field trip destination. This year the senior class at High School A and the senior class at High School B both planned trips there. The senior class at High School A rented and filled 9 vans and 6 buses with 393 students. High School B rented and filled 9 vans and 2 buses with 233 students. Every van had the same number of students in it as did the buses. Find the number of students in each van and in each bus.