Rosetta Problems

JOIOI の塔 (Tower of JOIOI)

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