MADODDSUM - Easy Odd Sum

Hablu likes odd numbers a lot. So he wants the sum of all odd numbers in range [a, b]. That is, find the sum of all odd numbers i such that (a ≤ i ≤ b). Seems easy right? Because it is.

Input

The first and only line will contain 2 integers a, b where (0 ≤ a ≤ 108) and (0 ≤ b ≤ 108).

Output

In one line, output the value of the sum

Example

Input:
0 9

Output:
25

Added by:Ruhan Habib
Date:2015-11-05
Time limit:0.5s-1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: ASM64 GOSU JS-MONKEY
Resource:Me?

hide comments
2016-01-12 09:59:18
easy question !!


=(Francky)=> Moved to tutorial.

Last edit: 2016-01-13 19:35:37
2016-01-05 19:43:07
smtyms dnt think much....jst do
2015-12-29 05:05:24 Diksha Jaiswal
my 200th :D
2015-12-25 10:15:22 Devashish Mathur
Seriously?
2015-12-24 08:35:02
AC in one go with only 10 lines of code in C++ (0.00s)
2015-12-24 08:34:22
Easiest problem
2015-12-03 10:51:07 Filip Sollar
getting wrong answer someone give me any addtional test case ?
2015-11-22 07:42:54 ATUL KUMAR SINGH
simplest one
2015-11-17 10:45:42 Negin
It seems like an easy one but I can't get it right. I either get compilation error or wrong answer. Can someone help with where I can look for help?
2015-11-10 18:21:22 Ruhan Habib
@Prakhar mistake fixed.. Thanks!
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.