Middle Number(s) (II)
Time Limit: 1 sec
The Problem
Write a computer program that read two integer numbers S and E, and find the middle number or numbers between S and E.
Example
if S = 5 and E = 11 then
5 6 7 8 9 10 11
The middle number is 8
If S = 1 and E = 8 then
1 2 3 4 5 6 7 8
The middle numbers are 4 and 5.
The Input
Input file contain a series of line, each line contains two integer numbers S and E (0<S,E<= 10000 and S <= E).
The Output
For each line of input, output will show one integer numbe or show two integer numbers which are seperated by space which is or are the middle number or numbers between S and E in a separate line.
Sample Input
5 11
1 8
11 20
Sample Output
8
4 5
15 16
Problem Setter: Shahin ShamS