Locomotive and wagons