print("? 100") x = int(input()) print("?",100-x-1) b = int(input()) b += 1 a=0 for i in range(0,101): if (i+100)%b == x: a = i break print("!",a,b)