i=1
while i<11:
	print(i, end = " ")
	i = i+1
print()

for i in range(1,11):
	print(i, end = " ")
print()

for i in range(10,0, -1):
	print(i, end = " ")
print()

phrase = "hello world"
for c in phrase:
	print(c)