Rosetta Problems

crom君のおつかい

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