f=1000 n=1000 v=[0]*(n+1) w=[0]*(n+1) for i in range(n+1):w[i]=i v[1]=f for i in range(2,n+1): if i==2: v[i]=v[1]+1 else: v[i]=v[i-1]+v[1]+1 print(n,n) for i in range(1,n+1): print(v[i],w[i])