Rosetta Problems

Free Contest 103 - RELATIONSHIP

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