d = [-1]*(110) for i in range(2): print("?", i) n = int(input()) print("!",1,2)