Digital Calculator (April Fools Series)
Bosco has bought a new digital calculator, however this calculator only supports addition.
📱Calculator: 1 + 1 = 1
📱Calculator: 1 + 2 = MATH ERROR
Help Bosco figure out if he has forgotten addition or he has been scammed.
Input
The only line contains integers $A$ and $B$. $(0\leq A,B \leq 10^{18})$
Output
Output $A+B$.
Sample Test Cases
Input | Output | |
---|---|---|
1 1 | 1 | |
1 2 | MATH ERROR | |
24 65 | 89 | |
70 40 | MATH ERROR | |
11 3 | 13 |
Scoring: Per Subtask
Authored by s19x17
Appeared in 中國香港九龍華仁書院電腦科主任李海峻老師精心調製之全校青少年信息學奧林匹克七月愚人節編程競賽二零二四