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