print(1000, 1000) print(1000, 1) for i in range(1, 1000): print(1001*i, i+1)