Rosetta Problems

浦島太郎!!

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