from math import lcm, ceil, log2 from random import choice, randint, shuffle from os import system from collections import defaultdict import io PRIME = 998_244_353 if __name__ == '__main__': n = 1000000 print(n, n) for i in range(n): print(1, 100000)