Rosetta Problems

あみだくじ

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