Learning path · Programming Foundations with Python
← Back to lesson · Input, variables, and arithmeticSum of Three Integers
Unrated
English
Language
Contribute a translation- Time limit
- 1000 ms
- Memory limit
- 256 MB
- Submissions
- 6
- Correct
- 6
- Solved by
- 6
- AC rate
- 100.000%
Statement
Read three integers and print their sum.
Input
Three integers a, b, c on one line. Each is between -1,000,000,000 and 1,000,000,000, inclusive.
Output
Print a + b + c.
Examples
Sample input 1
1 2 3
Sample output 1
6
Sample input 2
-1 0 1
Sample output 2
0
Sample input 3
0 0 0
Sample output 3
0