The train has one locomotive, which pulls the train when going away from the city and pushes it when going toward the city. On the inbound runs, the locomotive is controlled remotely from the cab car on the other end of the train.
If you need to know more, write!