#include <bits/stdc++.h>
using namespace std;
long long ar[10000];
long long sum[10000];
void solve() {
  long long n, p1, p2, p3, sum;
  cin >> n;
  cout << "? 1 2" << endl;
  cin >> p1;
  cout << "? 2 3" << endl;
  cin >> p2;
  cout << "? 1 3" << endl;
  cin >> p3;
  sum = (p1 + p2 + p3) / 2;
  ar[1] = sum - p2;
  ar[2] = sum - p3;
  ar[3] = sum - p1;
  for (int i = 4; i <= n; i++) {
    cout << "? " << i - 1 << " " << i << endl;
    long long temp;
    cin >> temp;
    ar[i] = temp - ar[i - 1];
  }
  cout << "!";
  for (int i = 1; i <= n; i++) {
    cout << " " << ar[i];
  }
  cout << endl;
}
int main() {
  int t;
  t = 1;
  while (t--) solve();
}
