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