Rosetta Problems

もりたのクッキー☆kiss

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