Simple Calculator
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
A simple calculator accepts the following types of strings as input:
where is a positive integer between and inclusive.
Find the value produced by the given expression. Here +, -, *, and / denote addition, subtraction, multiplication and division respectively. All operations are performed on integers, so "" is .
Input
One string that a simple calculator accepts.
Output
Print the result of the given expression.
Examples
Input #1
Answer #1
Input #2
Answer #2
Input #3
Answer #3
Submissions 11K
Acceptance rate 57%