Rosetta Problems

雛ちゃんとふろー

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