Add The ODD
Time Limit: 1 sec
The Problem
AimaS loves to play with numbers. She makes an interesting summation of series. She will give you the first number and last number of the series. Your task is adding all the odd numbers of the series.
Example:
The first number = 1
The Last number = 10
Result = 1 + 3 + 5 + 7 + 9 = 25
The Input
The input file contains a series of line. Each line contains 2 integers first number, F (0 <= F <=100000) and last number, L (F <= L) of the series. Input is terminated by EOF.
The Output
For each line of input print the summation of odd numbers in a separate line.
Sample Input
1 10
5 15
Sample Output
25
60
Problem Setter: Samia Safa Ahmed