t=True x=t+t+t;y=x+x-t for i in range(t,int(input())+t): f,b=i%xt-t])