Easy
Add Pairs Safely
Read n, then n lines with two values each. Print their sum as integers, or
error if either is not a whole number.Input
n, then n lines.
Output
n lines.
Sample 1
Input
2 1 2 x 3
Output
3 error
Sample 2
Input
1 10 20
Output
30
Output appears here