print(*range(10))
print(*range(2, 7))
print(*range(0, 10, 3))

for i in range(5):
    print(i)