e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Problems

Simple Calculator

Simple Calculator

A simple calculator accepts the following kinds of strings as input:

  • num + num
  • num - num
  • num * num
  • num / num

where num is a positive integer, between 1 and 10000 inclusive.

Find the value produced by the given expression. Here +, -, *, and / denote addition, subtraction, multiplication and division respectively. All operations are done on integers, so "5 / 3" is 1.

Input

One string that a simple calculator accepts.

Output

Print the result of given expression.

Time limit 1 second
Memory limit 128 MiB
Input example #1
3 * 12
Output example #1
36
Input example #2
16 + 45
Output example #2
61
Input example #3
19 / 7
Output example #3
2