Question
Recursive Modular Exponentiation
You are given integers
Input
The input contains three integers KaTeX can only parse string typed expression, KaTeX can only parse string typed expression, and KaTeX can only parse string typed expression.
Output
Print KaTeX can only parse string typed expression.
Example
Example:
Input
Input
2 10 1000Output24