print('?',0) ans=[] y1 = int(input()) ans.append(y1) print('?',y1) y2 = int(input()) ans.append(y1*2+y2) print(*ans)