Rosetta Problems

Free Contest 60 - KENRE

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