A = int(input())
B = int(input())
lst = []
for i in range(B, A):
if i % 2 == 1:
lst += [i]
lst.sort(reverse=True)
for i in lst:
print(i)
A = int(input())
B = int(input())
lst = []
for i in range(B, A):
if i % 2 == 1:
lst += [i]
lst.sort(reverse=True)
for i in lst:
print(i)