Rosetta Problems

Free Contest 39 - CACTUS

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