~/algor $ cat contests/round-7/L
L. Sum from 1 to n
Problem L
ICPC rules
1000 ms
64 MB
A positive integer is given. Find the sum of all positive integers from to :
Input
One positive integer .
Output
One integer — the sum.
Note
Examples
Input #1
5
Output #1
15
Input #2
1
Output #2
1