import sys input = sys.stdin.readline from collections import * N = 10**6 xy = [(-10**9, -10**9)] add_y = 1 for _ in range(N-1): x, y = xy[-1][0]+1, xy[-1][1]+add_y xy.append((x, y)) add_y += 1 print(N) for x, y in xy: print(x, y) sys.stdout.flush()