Rosetta Problems

Free Contest 127 - DIGITS

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