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