import sys from collections import deque, Counter sys.setrecursionlimit(5 * 10 ** 5) from pypyjit import set_param set_param('max_unroll_recursion=-1') input = lambda: sys.stdin.readline().rstrip() ii = lambda: int(input()) mi = lambda: map(int, input().split()) li = lambda: list(mi()) inf = 2 ** 63 - 1 mod = 998244353 import math n = 10 ** 6 print(n) for i in range(n): print(round(10 ** 9 * math.cos(2 * math.pi * i / n)), round(10 ** 9 * math.sin(2 * math.pi * i / n)))