Read two integers a and b from standard input and print their sum.
Input
A single line with two integers separated by a space. -10^9 ≤ a, b ≤ 10^9
Output
One integer: a + b.
Hints
- Python:
a, b = map(int, input().split())
- JavaScript:
const [a, b] = require("fs").readFileSync(0, "utf8").trim().split(/\s+/).map(Number)
- C:
scanf("%d %d", &a, &b);
Read from standard input and write to standard output. 5 test cases in total (3 hidden). Tests for this language run inside your browser.