Rosetta Problems

First Number

https://oj.vnoi.info/problem/mdigits2