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