Problem Statement
You buy $B$ candies that cost $A$ yen per $1$ piece, and $1$ bag that costs $C$ yen. Find the total amount of money.
Constraints
- $1 \le A \le 100$.
- $1 \le B \le 100$.
- $1 \le C \le 100$.
- All input values are integers.
Input
The input is given in the following format:
A B C
Output
Print the total amount of money, omitting the unit (yen).
Do not print anything other than the answer. (Do not print sentences prompting for input, etc.)
For the answer format, you may also refer to the practice problems and their sample solutions.
Sample 1
Sample Input 1
20 3 10
Sample Output 1
70
- When you buy $3$ candies that cost $20$ yen per $1$ piece and $1$ bag that costs $10$ yen, the total amount is $70$ yen, so print $70$.
Sample 2
Sample Input 2
70 2 100
Sample Output 2
240
- When you buy $2$ candies that cost $70$ yen per $1$ piece and $1$ bag that costs $100$ yen, the total amount is $240$ yen, so print $240$.
Sample 3
Sample Input 3
23 10 15
Sample Output 3
245
- When you buy $10$ candies that cost $23$ yen per $1$ piece and $1$ bag that costs $15$ yen, the total amount is $245$ yen, so print $245$.
Sample 4
Sample Input 4
100 100 100
Sample Output 4
10100
- When you buy $100$ candies that cost $100$ yen per $1$ piece and $1$ bag that costs $100$ yen, the total amount is $10100$ yen, so print $10100$.