Simple Train Exchange
Solution
To exchange the trains 17 moves are required. The moves are shown in the illustration.