First of the locomotives the Union Pacifics M 10001 had a 12cylinders twostroke engine before it entered revenue service

Can you repeat this sentence, but add in punctuation?
First of the locomotives, the "Union Pacific's ", M 10001 had a 12-cylinders two-stroke engine before it entered revenue service.