13267 - Stewie's Calculator   

Description

Stewie just had a great idea on how to become famous. First he would invent the world's first time machine, then he would travel back in time and create the world's first calculator!

After making the time machine, Stewie and his dog, Bryan, jumped back to 1642 (the year the calculator was invented) and kidnap Jack Kilby (the inventor of the calculator). After kidnapping Jack, Stewie realized that Bryan did not bring the modern calculator so now Stewie has to make one from scratch.

They do not have enough time so he has to make a simple one.

The calculator will only be able to take in 2 numbers and an operator in a specific order and then will output the answer with 2 decimal places.

The operators the calculator will have are addition (+), subtraction(-), division(/), and multiplication(*).

Stewie must invent the calculator quick before the time machine's portal closes.

Input

The input will consist of 2 numbers, which may contain decimals, and an operator in the following order:

IOp I2

(there will be spaces between each character)

 

Output

Output the result of the equation with two decimal spaces and a trailing newline character

If the equation cannot be calculated, print "Error" with a trailing newline character

Sample Input  Download

Sample Output  Download

Tags




Discuss