#0002B8

Elementary Math

Arief is a student in an elementary school at Surabaya. He is very stupid, lazy, and he hates MATH ! One day his teacher give him a very simple and easy arithmatic problem. But just like you know, he is very stupid and lazy and he wants you to help him :D



InputA single line contains Arief's arithmatic problem. Example 5+(5*5) which answer is 30. Arief's teacher is a normal guy so he always gives a valid input. Example 5+(5) is valid but (5*5))4+ is not valid. Every number X in this problem is -1000000 < X < 1000000. Input will be at least 1 character and at most 250 characters


OutputA single line contains the answer of Arief's arithmatic problem. You should process the operator which appear first. Example 5+5*5 should be 50, not 30. The result never reached 32-bit integer constrain. If you found a number divided by zero just write "Error"



Input:
5+5*5
Output:
50



Input:
5+(5*5)
Output:
30



Input:
5/0
Output:
Error

Submit solution

Coming later

The grading service will be connected in a later migration step. You can inspect the task and your previous results now.