The senior classes at High School A and High School B planned separate trips to the local amusement park. The senior class at High School A rented and filled 9 vans and 7 buses with481 students. High School B rented and filled 3 vans and 4 buses with 247 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.