Input file | SUM.IN |
Output file | SUM.OUT |
Time limit | 15 seconds per test |
Your task is to find the sum of all integer numbers lying between 1 and N inclusive.
The input file consists of a single integer N that is not greater than 10000 by it's absolute value.
Write to the output file a single integer number that is the sum of all integer numbers lying between 1 and N inclusive.
-3
-5