Power of Phi(medium)

Problem Name:
Power of Phi(medium)
Site:Spoj
Links:
Tags:
Problem setters: