e-olymp
Competitions

Programming Principles 1. Week 2. September 9 - 15. 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 1 second
Memory limit 128 MiB
Input example #1
2 5
Output example #1
8