Rosetta Problems

Cross-free Matching

https://atcoder.jp/contests/arc126/tasks/arc126_b