472. Calculator Lite

0

Medium

Given a string s representing an expression, calculate and output the value of this expression.
It is guaranteed that the given expression is always valid.

Input Format

The input consists of a single line containing a string s (the expression).

Output Format

Output the value of the expression as an integer.

Example

Input

3+5/2*4

Output

11

Constraints

* The length of the string s is between 1 and 10000.
* The string s consists of integers and operators ('+', '-', '*', '/') separated by some number of spaces.
Loading...

View Submissions

Console