Rosetta Problems

Free Contest 143 - SUBPRIME

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