ANS=[(10**9,0),(0,10**9),(-10**9,0),(0,-10**9)] N=10**6 while len(ANS)0: u+=2 else: u-=2 if v>0: v+=2 else: v-=2 X.append((u,v)) ANS2=[] for i in range(len(ANS)): ANS2.append(X[i]) ANS2.append(ANS[i]) ANS=ANS2 ANS=ANS[:N] for i in range(N): ANS[i]=str(ANS[i][0])+" "+str(ANS[i][1]) print(N,flush=True) print("\n".join(ANS))