FUTURE NUMBER 3

View as PDF

Points: 350 (p) Time limit: 0.5s Memory limit: 640M Input: stdin Output: stdout

Định nghĩa số tương lai: Đây

Yêu cầu: Tính tổng các số tương lai từ \(1\) đến \(n\).

Input

  • Một số nguyên dương duy nhất là \(n\) không quá \(10^8\)

Output

  • Tổng các số tương lai từ \(1\) đến \(n\)

Example

Test 1

Input
862
Output
108013

Comments

There are no comments at the moment.