In the back. See, the train is still accelerating as it is leaving the station so the train will be moving faster when the back of the train enters the tunnel.
I fly to any foreign parts assisted by my spreading wings. My body holds an hundred hearts Nay I will tell you stranger things when I am not in haste I ride and then I mend my pace anon.