Rosetta Problems

Free Contest 85 - CHILD

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