n = int(input()) ans = [0] * n print(f"? 2 {n}") lst = n * (n + 1) // 2 ans[0] = n * (n + 1) // 2 - int(input()) sm = ans[0] for i in range(n - 2): print(f"? {i+1} {i+2}") ans[i+1] = int(input()) - ans[i] sm += ans[i] ans[n-1] = n * (n + 1) // 2 - sm print("!", *ans)