<reponame>chirag043043/python-program
for i in range(0,6):
    if(i==0):
        print("0")
    elif(i%3==0):
        continue
    else:
        print(i)
        

for i in range(0,6):
    if(i==0):
        print("0")
    elif(i%3==0):
        continue
    else:
        print(i)