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