// 描述
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.