The senior classes at high school A and high school B planned separate trips to the county fail. The senior class at high school A rented and filled 7 vans and 12 busses with 640 student. High school B rented and filled 12 vans and 6 busses with 456 students. Each van and each bus carried the same number of students. Find the number of students in each van and each bus.