We had fun with this train set. We were trying to see how far apart the magnets needed to be before the V and the A attracted each other. It was about 1cm.
Amazingly, when the A was pulled to the V, it fired the locomotive away from the front. It turns out that the loco and the front car have same magnetic poles and are weakly repelling. I'm not sure how they can actually hold together but the impact of a push from the back fires the loco from the front.