7 cars, 34 passengers, 5 bays. 40 seconds on the clock.
34 waiting
You have 40 seconds, starting at your first tap. A bump costs 3 seconds.
Call the cars to the stop in this order: 2, 4, 5, 6, 3, 7, 1.