#include <bits/stdc++.h>
using namespace std;
template <typename T>
inline void debug(vector<T> v) {
  cout << "\ndebug(vector)\n";
  long long i;
  for (i = 0; i < v.size(); i++) cout << v[i] << " ";
  cout << "\n\n";
}
inline bool prime(int n) {
  int i;
  for (i = 2; i * i <= n; i++)
    if (n % i == 0) return false;
  return true;
}
bool palindrome(string s) {
  for (int i = 0; i < s.length() / 2; i++) {
    if (s[i] != s[s.length() - 1 - i]) return 0;
  }
  return 1;
}
int interact(int a, int b) {
  cout << "?"
       << " " << a + 1 << " " << b + 1 << endl;
  int temp;
  cin >> temp;
  return temp;
}
void solve() {
  int n;
  cin >> n;
  int total = interact(0, n - 1);
  long long temp = total;
  int fuck;
  if (n == 3) fuck = total;
  vector<long long> v(n, 0);
  for (int i = 1; i < n - 1; i++) {
    int mg = interact(0, n - 1 - i);
    v[n - i] = temp - mg;
    temp = mg;
    if ((n - 1 - i) == 2) fuck = mg;
  }
  int temp2 = interact(1, 2);
  v[0] = fuck - temp2;
  v[1] = temp - v[0];
  cout << "!"
       << " ";
  for (auto x : v) cout << x << " ";
  cout << endl;
}
int main(void) {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int t = 1;
  while (t--) {
    solve();
  }
  return 0;
}
