Linear Kingdom exactly tram line it n stop number 1 n order trams movement at ith stop ai passenger exit tram bi passenger enter the tram arrive stop also tram arrive stop passenger exit emptyyour task calculate tram minimum capacity number people inside tram time exceed capacity note stop exit passenger exit enter passenger enter tram