Rosetta Problems

桁

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