Processing math: 100%
Complex Exponentiation - MarisaOJ: Marisa Online Judge

Complex Exponentiation

Time limit: 1000 ms
Memory limit: 256 MB
You are given 3 integers a,b,c. Print the result of the expression: ab;. Note that is the modulo operation. ### Input - A single line contains 3 integers a,b,c. ### Output - A single integer which is the result of the expression. ### Constraints - 1≤a,b,c≤103. ### Example Input: 3510 Output: 3