#164. Formula: n-th term of a geometric progression
Find the n-th term of a geometric progression. Formula: `b1 * q ** (n - 1)`
### Input
Each on its own line: b1, q, n (1 ≤ value ≤ 10).
### Output
One integer.
Examples
Input
5 7 10
Output
201768035
Input
2 5 8
Output
156250
💡 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.