list = map(int, raw_input().split())
max = max(list)
min = min(list)

for i in range(min + 1, max + 2):
	print i
578685bdadde82e695180e99bcd117d3160f8b9b
list = map(int, raw_input().split())
max = max(list)
min = min(list)

for i in range(min + 1, max + 2):
	print i