A Small Step Toward Calculators
Alice has a string of the form
x-y. Here, and are single-digit nonnegative integers. Her task is to perform the addition or subtraction accordingly and print the result.
As a newbie programmer, Alice is struggling to finish the task. Can you help her?
In a single line, you will be given the string.
- The string contains exactly characters of the form
In a single line, print the result of the operation.
Please do comment If u have any Queries!