Rosetta Problems

Free Contest 55 - PAIRS

https://oj.vnoi.info/problem/fc055_pairs