13552 - Easy math problems   

Description

Patrick is going to hand in his math homework tomorrow. He left his homework undone and played outside all day with Squidward. It’s now 3 am and Patrick doesn’t know how to finish these problems at all since he never studies. Therefore, he comes to you, the smartest person he knows, and hopes you can solve all of the problems in his homework book.

 

 

 

The problems are easy: given a math expression containing two numbers and an operator. Calculate the result rounded to 3rd decimal places.

For example, the answer of 12.1 + 7 is 19.100, and the answer of 7 / 3 is 2.333.

Patrick will bring you a Krabby Patty if you successfully answer all questions.

Input

Given a math expression containing two numbers xy and a char c (‘+’, ‘-’, ‘*’ or ‘/’) seperating the numbers.
(-1000 x, y 1000)

Output

Output the answer, which is a floating point rounded to 3rd decimal places.

Please print '\n' at the end of the line.

Sample Input  Download

Sample Output  Download

Tags

FlyHighHigh



Discuss