Rosetta Problems

Free Contest 29 - KANGAROO

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