// 문제 설명
Output the sum 1 + 2 + ... + n.
// 입력
A single integer n (1 <= n <= 10^9).
// 출력
The value of n(n+1)/2.
// 힌트
Use the closed-form formula; mind 64-bit overflow.