a=int(input('? 100\n')) if a==99:A,B=99,100 else:print('?',99-a);B=int(input())+1;A=(a+B-100%B)%B print('!',A,B)