Rosetta Problems

Beginner Free Contest 13 - BIGMOD

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