Power - Mod Power

  • + 0 comments

    print(_pow := pow(int(input()), int(input())), _pow % int(input()), sep="\n")