Howard, a freshman major in computer science, has an idea after learning arithmetic operator in the programming course. He wants to write a C program to make a simple calculator. He had tried around the clock but ended up realizing that it is not as easy as he have expected. So he asks you for help to write a program that can do simple calculation.
Input contains two real numbers a, b (0 <= a, b < 1000, up to three decimal places) and one arithmetic operator(+, -, *, /) in the middle.
Print the answer of the calculation. That is,
Print the number with exactly three digits after the decimal points that rounds to the third decimal place.
If the answer is illegal, that is divided by zero, print "Error". (Without quotation marks)
Remember to print a newline character '\n' at the end.
Use double instead of float to prevent from floating point precision error.