Sum of two numbers
Read two whole numbers and print their sum.
Input
One line with two integers a and b, separated by a space.
Output
One line: a + b.
Constraints
- -1,000,000 ≤
a,b≤ 1,000,000
The input is read for you. The starter code puts it in variables; write your code under Your code here and print the answer. Changed the code already? Reset () brings the starter back.
Example 1
Input
2 3
Output
5
Why:
2 + 3 = 5.
Example 2
Input
-4 10
Output
6
Why:
Numbers can be negative: -4 + 10 = 6.
Hints
Was this a good challenge?
- Solved by
- 2
- Submissions
- 2
- Accepted
- 100%