def main(): N = int(input()) P = [] result = [] for idx in range(2, N): print(f"? {idx} {N}", flush=True) response = int(input()) result.append(response) if idx == 2: P.append(N * (N + 1) // 2 - response) elif idx >= 3: P.append(result[-2] - result[-1]) print(f"? {1} {N-1}", flush=True) response = int(input()) last = N * (N + 1) // 2 - response P.append(result[-1] - last) P.append(last) print("! " + " ".join(map(str, P)), flush=True) if __name__ == "__main__": main()