#983. Fast power (mod 997)
You get a and b (b can be very big). Find aᵇ mod 997 using fast exponentiation.
### Input
One line: a b (0 ≤ a ≤ 10⁹, 0 ≤ b ≤ 10¹⁸).
### Output
A number.
Examples
Input
530843949 494831978783569613
Output
396
Input
384915162 54641085072087098
Output
137
💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.