This is Advanced Question for HW1.
Write a program that calculates the value of the input string.
Hint: You may need to use "if" and "split()" to solve the problem.
Given a line of input containing a string including:
The operand will be a combination of numbers and alphabets.
The operator will be one of {+, -, *, /, %}.
Please ignore the alphabets and do the calculation. The output is to print the formula and the answer.
Note that '/' should be rounded down to the nearest whole digit.