Skip to main content

~/algor $ cat contests/round-9/B

B. Simple calculator

Problem B ICPC rules 1000 ms 64 MB

An operation number and two integers and are given. Operations: — addition (), — subtraction (), — multiplication (), — division. Division takes the integer part and drops the fraction (for example, divided by is ). Find the result of the operation.

The signs of the four arithmetic operations

Input

One line with three integers: , and .

Output

One integer — the result of the operation.

Note



When ,

Examples

Input #1
1 10 5
Output #1
15
Input #2
2 10 5
Output #2
5

Sign in to submit a solution

Signing up is free and takes a minute.