Sum of integers on the interval
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Find the sum of all integers from to .
Input
Two integers and , no more than by absolute value.
Output
Print the sum of all integers from to .
Examples
Input #1
Answer #1
Submissions 58K
Acceptance rate 27%