'''using for loop'''
for i in range(49,20,-2):
	print(i)
'''5.using while loop'''
i=int(49)
while i>19 :
	print(i)
	i-=2