Rosetta Problems

Pairing Network

https://atcoder.jp/contests/awc0169/tasks/awc0169_c