

print("LOOP 1")
for index in range(10):
	print(index)

print("LOOP 2")
for index in range(5,10):
	print(index)


print("LOOP 3")
for index in range(5,10,2):
	print(index)


print("LOOP 4")
for index in range(10,1,-1):
	print(index)