두 정수 $A$와 $B$가 주어진다. 두 수의 합 $A + B$를 구하시오.
이 문제는 표준 입출력을 사용하지 않는다. 프로그램은 입력을 파일 input.txt에서 읽고, 답을 파일 output.txt에 써야 한다. (IOI · USACO 방식의 파일 입출력 연습 문제이다.)
Input
input.txt의 첫째 줄에 두 정수 $A$와 $B$가 공백으로 구분되어 주어진다.
Output
output.txt에 $A + B$를 한 줄로 출력한다.
Constraints
- $-10^9 \le A, B \le 10^9$
Example 1
Input
3 5
Output
8
$3 + 5 = 8$.
Example 2
Input
-2 7
Output
5
음수도 주어질 수 있다. $-2 + 7 = 5$.
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.