A commuter train has 8 cars with a maximum occupancy of 56 passengers each and 3 cars with a maximum occupancy of 40 passengers each. There are 9 completely full cars, and 1 car is exactly full.
The eleventh car has an unknown number of passengers, but there are fewer than 515 passengers on the entire train. What is the greatest possible number of passengers that could be aboard the eleventh
car?