Given integer n, you must calculate the sum of all integers between 1 and n (including 1 and n).
Each line has one integer n (∣n∣≤10000). The last line contains 0 and is not processed.
For each value of n print the answer on a separate line.