Rosetta Problems

Free Contest 3 - NUMERE

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