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