Rosetta Problems

Free Contest 72 - NUMTH

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