Simple Question
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Given integer , you must calculate the sum of all integers between and (including and ).
Input
Each line has one integer . The last line contains and is not processed.
Output
For each value of print the answer on a separate line.
Examples
Input #1
Answer #1
Submissions 3K
Acceptance rate 26%