#115. Formula: n-th term of an arithmetic progression
Find the n-th term of an arithmetic progression. Formula: `a1 + (n - 1) * d`
### Input
Each on its own line: a1, d, n (1 ≤ value ≤ 10).
### Output
One integer.
Examples
Input
8 2 10
Output
26
Input
10 7 8
Output
59
💡 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.