Rosetta Problems

数字で遊ぶ小森さん

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