x=int(input())
y=int(input())
for i in range(x,y+1,4):
	print(i)# your code goes here