Rosetta Problems

天空の城ツルガ

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