from math import cos, floor, pi, sin N = 10**6 r = 10**9 - 10 print(N) for i in range(N): t = 2 * pi * i / N print(floor(r * cos(t)), floor(r * sin(t)))