print("1 1", flush=True) x = input() print(0, flush=True) y = input()