Rosetta Problems

Free Contest 80 - GROUPS

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