import sys def solve(): # Choose A and B a = 100 b = 100 # Output A and B print(f"{a} {b}", flush=True) # Read K from the judge try: k = int(sys.stdin.readline()) if k == -1: # Error case? Assume not needed based on problem type return except ValueError: # Handle potential errors if input is not an integer # print("Error reading K", file=sys.stderr) return except EOFError: # Handle EOF # print("EOF reached unexpectedly", file=sys.stderr) return # Based on our analysis, X' should always be 1 # when A=100, B=100 x_prime_guess = 1 # Output the guess for X' print(f"{x_prime_guess}", flush=True) # Read the result from the judge try: ret = int(sys.stdin.readline()) # We don't strictly need to do anything with ret unless debugging # if ret == 0: # print("Guess was incorrect", file=sys.stderr) # elif ret == 1: # print("Guess was correct", file=sys.stderr) # else: # print(f"Unexpected return value: {ret}", file=sys.stderr) except ValueError: # Handle potential errors if input is not an integer # print("Error reading ret", file=sys.stderr) return except EOFError: # Handle EOF # print("EOF reached after guess", file=sys.stderr) return if __name__ == '__main__': solve()