Drops Packing
Time limit2sMemory limit1024 MB
Given a price per drop, a count of drops, and a bag price, the task asks for the total amount paid, which is A times B plus C.
- Level
Easy1 of 10
- Topics
- Math, Implementation
- Solved
- No attempts yet
Problem
Buy B drops (candies) at A yen each, plus one bag that costs C yen. Find the total amount paid.
Input
The input is given in the following format.
A
B
C
Output
Print the total amount without the unit (yen). Print only the answer. Do not print any prompt or other text.
Constraints
- .
- .
- .
- All input values are integers.