Skip to content

Learning path · Programming Foundations with Python

Back to lesson · Input, variables, and arithmetic

A + B

A1300
English

Language

Contribute a translation
Time limit
1000 ms
Memory limit
256 MB
Submissions
14
Correct
8
Solved by
7
AC rate
53.846%

Statement

Given two integers $A$ and $B$, print their sum.

Input

One line with two integers $A$ and $B$ ($-10^9 \le A, B \le 10^9$).

Output

Print $A + B$.

Examples

Sample input 1
1 2
Sample output 1
3
Sample input 2
-5 5
Sample output 2
0

Tags

No tags yet