Rosetta Problems

ナベアツ

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