#include <bits/stdc++.h>
using namespace std;
int ini[105], now[105], a[105], b[105];
int main() {
  int n;
  cin >> n;
  cin >> a[n] >> b[n];
  for (int i = n - 1; i > 2; i--) {
    cout << "+ " << i << endl;
    cout.flush();
    cin >> a[i] >> b[i];
  }
  cout << "+ 1" << endl;
  cout.flush();
  cin >> a[0] >> b[0];
  cout << "+ 2" << endl;
  cout.flush();
  cin >> a[2] >> b[2];
  cout << "+ 1" << endl;
  cout.flush();
  cin >> a[1] >> b[1];
  int x = 1;
  while (x * (x - 1) / 2 < a[1] - a[2]) x++;
  now[1] = x;
  ini[1] = x - 1;
  now[3] = b[1] - b[2] - b[0] + b[3];
  ini[3] = now[3] - 1;
  now[2] = (b[1] - b[2]) / now[3];
  ini[2] = now[2] - 1;
  now[4] = (b[2] - b[0] - now[1] * now[3]) / now[3];
  ini[4] = now[4] - 1;
  now[1]--;
  now[2]--;
  b[2] = b[1];
  for (int i = 3; i < n - 1; i++) {
    now[i + 2] =
        (b[i] - b[i + 1] - now[i - 1] * now[i + 1] - now[i - 2] * now[i - 1]) /
        now[i + 1];
    ini[i + 2] = now[i + 2] - 1;
    now[i]--;
  }
  ini[n]++;
  cout << "!";
  for (int i = 1; i <= n; i++) cout << " " << ini[i];
  cout << endl;
  return 0;
}
