#include <bits/stdc++.h>
using namespace std;
struct mone {
  int value = -1;
};
const int N = 2e5 + 5;
bool comp(int x, int y) { return x > y; }
bool is_square(long long int n) {
  if (pow((long long int)sqrt(n), 2) == n) return true;
  return false;
}
long long int logd(long long int x, long long int y) {
  return ceil((long double)log(x) / (long double)log(y));
}
void solve() {
  int n;
  cin >> n;
  cout << '?' << ' ' << 1 << ' ' << 2 << endl;
  fflush(stdout);
  int x;
  cin >> x;
  cout << '?' << ' ' << 2 << ' ' << 3 << endl;
  fflush(stdout);
  int y;
  cin >> y;
  cout << '?' << ' ' << 1 << ' ' << 3 << endl;
  fflush(stdout);
  int z;
  cin >> z;
  int a = (x - y + z) / 2;
  vector<int> ans(n + 1);
  ans[1] = a;
  ans[2] = x - a;
  ans[3] = z - a;
  for (int i = 4; i <= n; i++) {
    cout << '?' << ' ' << 1 << ' ' << i << endl;
    fflush(stdout);
    int temp;
    cin >> temp;
    ans[i] = temp - a;
  }
  cout << "! ";
  for (int i = 1; i <= n; i++) cout << ans[i] << ' ';
}
int32_t main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int t = 1;
  while (t--) {
    solve();
  }
}
