for _ in range(8): print("0 0") N = 100 print(N) for i in range(N): print(f"1 {(i + 1) % 100 + 1}")