#P179. 练29.3 银行利息

练29.3 银行利息

Description

Xiaoming has earned some money! He wants to invest it and is curious about how much he can earn.
The compound annual interest rate is RR (an integer between 00 and 2020). The current amount of money is MM (an integer between 100100 and 1000010000). He knows exactly how many years YY he wants to invest (range 00 to 400400).
Help him calculate how much money he will have in the end, and output its integer part. The data guarantees that the output will be within the range of a 32-bit signed integer.

Input Format

A single line containing three integers RR, MM, and YY, separated by spaces.

Output Format

An integer representing the final amount of money Xiaoming will have (integer part).

Sample

5 5000 4
6077