CodeLab Academy 📞 9936 6696
← List Python · Level 3: Conditions (if) Code · 30 points ← #217 #219 →

#218. Calculator

You get an expression `a op b` on one line. op is one of `+`, `-`, `*`, `/`. For `/` use integer division; if it divides by 0, print `Error`. ### Input One line: a op b (separated by spaces). ### Output The result.

Examples

Input
1 - 12
Output
-11
Input
41 + 20
Output
61

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!