#include <bits/stdc++.h>
using namespace std;
template <typename T>
std::vector<std::vector<std::vector<T>>> make_3d_vector(long long z,
                                                        long long y,
                                                        long long x,
                                                        T value = T{}) {
  return std::vector<std::vector<std::vector<T>>>(
      z, std::vector<std::vector<T>>(y, std::vector<T>(x, value)));
}
template <typename T>
std::vector<std::vector<T>> make_2d_vector(long long z, long long y,
                                           T value = T{}) {
  return std::vector<std::vector<T>>(z, std::vector<T>(y, value));
}
template <typename T>
std::vector<T> make_1d_vector(long long z, T value = T{}) {
  return std::vector<T>(z, value);
}
void solve() {
  long long n;
  cin >> n;
  vector<long long> v(n, 0);
  for (long long i = 0; i < n - 1; i++) {
    cout << "? " << i + 1 << " " << i + 2 << "\n";
    fflush(stdout);
    cin >> v[i];
  }
  cout << "? " << 1 << " " << 3 << "\n";
  fflush(stdout);
  long long x;
  cin >> x;
  vector<long long> v2(n, -1);
  v2[1] = v[0] + v[1] - x;
  v2[0] = v[0] - v2[1];
  for (long long i = 1; i < n - 1; i++) {
    v2[i + 1] = v[i] - v2[i];
  }
  cout << "! ";
  for (auto i : v2) cout << i << " ";
}
int32_t main() {
  solve();
  cerr << "time taken : " << (float)clock() / CLOCKS_PER_SEC << " secs" << endl;
}
