Rosetta Problems

Free Contest 10 - AFARM

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