Rosetta Problems

最後の大勝負

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