For a field trip 8 students rode in cars and the rest filled ten buses. How many students were in each bus if 538 students were on the trip?