#include <bits/stdc++.h>
using namespace std;
const long long INF64 = 1e18;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long int n;
  cin >> n;
  long long int a1, a2, a3, sum1, sum2, sum3;
  cout << "? 1 2" << endl;
  cin >> sum1;
  cout << "? 2 3" << endl;
  cin >> sum2;
  cout << "? 1 3" << endl;
  cin >> sum3;
  vector<long long int> v;
  a2 = (sum1 + sum2) - sum3;
  n -= 3;
  a1 = sum1 - a2;
  a3 = sum2 - a2;
  v.push_back(a1);
  v.push_back(a2);
  v.push_back(a3);
  long long int x = 4, y;
  while (n--) {
    cout << "? " << x - 1 << " " << x << endl;
    cin >> y;
    x++;
    a3 = y - a3;
    v.push_back(a3);
  }
  cout << "! ";
  for (long long int i = 0; i < v.size(); i++) cout << v[i] << " ";
  cout << endl << "\n";
  return 0;
}
