Under construction

Still being built. Things may change

Drops Packing

Time limit2sMemory limit1024 MB

Summary
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

  • 1≤A≤1001 \le A \le 100.
  • 1≤B≤1001 \le B \le 100.
  • 1≤C≤1001 \le C \le 100.
  • All input values are integers.

Examples4

  1. Example 1

    Input
    20
    3
    10
    
    Expected output
    70
    
  2. Example 2

    Input
    70
    2
    100
    
    Expected output
    240
    
  3. Example 3

    Input
    23
    10
    15
    
    Expected output
    245
    
  4. Example 4

    Input
    100
    100
    100
    
    Expected output
    10100