from math import lcm, ceil, log from random import choice, randint from os import system from collections import defaultdict import io PRIME = 998_244_353 if __name__ == '__main__': N = 200000 print(N, N) for _ in range(N): print(226, 226) for i in range(1, N + 1): print(1, i)