There are two kinds of cars for students of a certain grade to go for a spring outing: one can take 40 people and the other can take 50 people. It is known that there are 400 people in this class, and 40 people have 5 cars. How many cars do 50 people have? (If not, you can ask)