Rosetta Problems

Free Contest 67 - RICECAKE

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