num_list = ['0', '1', '2', '3']
num_list_len = len(num_list)
for i in range(num_list_len):
    print(num_list[i])
print("")
for i in range(3, -1, -1):
    print(num_list[i])
print("")
for i in range(8,1,-2):
    print(i)
