Long Arithmetic
Easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Calculate the result of adding or subtracting two large numbers.
Input
The first line contains a single number, which can be up to 255 characters long.The second line specifies the operation:
for addition
for subtractionThe third line contains another number, also up to 255 characters long.
Output
Output a single number, which is the result of the specified operation on the two numbers.
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 22%