Rosetta Problems

MCY GAME

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/44