Farmer John made a profit last year! He would like to invest it well but wonders how much money he will make.
He knows the interest rate that is compounded annually at his bank. He has an integer amount of money . He knows how many years he intends to invest the money in the bank. Help him learn how much money he will have in the future by compounding the interest for each year he saves.
Print an integer answer without rounding. Answers for the test data are guaranteed to fit into a signed bit integer.
输入格式
Line : Three space-separated integers: , , and .
输出格式
Line : A single integer that is the number of dollars FJ will have after years.
样例
样例输入 #1
5 5000 4
样例输出 #1
6077
样例说明
annual interest, money, years.
Year : .
Year : .
Year : .
Year : .
The integer part of is .