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