Hide
Problem B
Two-sum
Per-Magnus is trying to add two integers, but he never learned how to.
Write a program to help him with this most difficult task!
Input
The input consists of a single line with two integers $0 \le a \le 1\, 000$ and $0 \le b \le 1\, 000$.
Output
Output a single integer, the sum $a + b$.
Sample Input 1 | Sample Output 1 |
---|---|
1 1 |
2 |
Sample Input 2 | Sample Output 2 |
---|---|
2 2 |
4 |