Hide

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
CPU Time limit 1 second
Memory limit 1024 MB
Statistics Show
Author
Johan Sannemo
Source Principles of Algorithmic Problem Solving
License Creative Commons License (cc by-sa)

Please log in to submit a solution to this problem

Log in