Problem1402--sum of all integer numbers

1402: sum of all integer numbers

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

Your task is to find the sum of all integer numbers lying between 1 and N inclusive.

Input

There are multiple test cases.
The input consists of a single integer N that is not greater than 10000 by it's absolute value.

Output

Write a single integer number that is the sum of all integer numbers lying between 1 and N inclusive.

Sample Input Copy

3

Sample Output Copy

6

Source/Category

admin