e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

Week 2: November 16 – 22. Conditional statement. Part 3

Sum of odd numbers

Find the sum of odd numbers in the range from а to b.

Input

Two integers a and b, not greater than 109 by absolute value.

Output

Print the sum of odd numbers in the range from а to b.

Time limit 5 second
Memory limit 128 MiB
Input example #1
2 5
Output example #1
8
Input example #13
-1987655734 1999999734
Output example #13
12305904774248000