Modulo Fermats Theorem

Problem Name:
Modulo Fermats Theorem
Site:HackerEarth
Links:
Tags:
Problem setters: