Simple Question#1464

Simple Question

1 second
128 megabytes
Easy

Given an integer , calculate the sum of all integers from to (inclusive).

Input

Each line contains a single integer (|n| \leq 10000). The last line contains and should not be processed.

Output

For each value of , print the answer on a separate line.

Examples

Example 1

Loading
Loading