So how to prove that important conclusion in the edtorial of 2127D?
I mean this part:
Now, we only need to arrange the leaves adjacent to each vertex relative to each other. Because their positions relative to the other vertices depend only on the four ways to arrange the main path. The proof of that is boring, so we won’t bore you with it :)
What is it?



