Rosetta Problems

Free Contest 58 - APALIN

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