There are 40 children and 12 adults going on a trip to New York City by car. Each car can hold a maximum of 5 people. What is the least number of cars needed for the trip?