On Monday, 395 students went on a trip to the zoo. All 9 buses were filled and 8 students had to travel in cars. How many students were in each bus?