#include <bits/stdc++.h>
using namespace std;
void solve() {
  int N;
  cin >> N;
  vector<int> ans(N);
  vector<int> sum(N);
  for (int i = 1; i < N; i++) {
    cout << '?' << " " << 1 << " " << i + 1 << endl;
    fflush(stdout);
    int s;
    cin >> s;
    sum[i] = s;
  }
  cout << '?' << " " << 2 << " " << N << endl;
  fflush(stdout);
  int s;
  cin >> s;
  ans[0] = sum[N - 1] - s;
  sum[0] = ans[0];
  for (int i = 1; i < N; i++) {
    ans[i] = sum[i] - sum[i - 1];
  }
  cout << '!';
  for (int i = 0; i < N; i++) {
    cout << " " << ans[i];
  }
  cout << endl;
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  int T;
  T = 1;
  for (int i = 0; i < T; i++) {
    solve();
  }
}
