Rosetta Problems

Free Contest 17 - MOWLAWN

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