Problem: This is an interactive problem.

Yui is a girl who enjoys playing Mahjong.

<image>

She has a mysterious set which consists of tiles (this set can be empty). Each tile has an integer value between 1 and n, and at most n tiles in the set have the same value. So the set can contain at most n^2 tiles.

You want to figure out which values are on the tiles. But Yui is shy, she prefers to play a guessing game with you.

Let's call a set consisting of three tiles triplet if their values are the same. For example, \{2, 2, 2\} is a triplet, but \{2, 3, 3\} is not.

Let's call a set consisting of three tiles straight if their values are consecutive integers. For example, \{2, 3, 4\} is a straight, but \{1, 3, 5\} is not.

At first, Yui gives you the number of triplet subsets and straight subsets of the initial set respectively. After that, you can insert a tile with an integer value between 1 and n into the set at most n times. Every time you insert a tile, you will get the number of triplet subsets and straight subsets of the current set as well.

Note that two tiles with the same value are treated different. In other words, in the set \{1, 1, 2, 2, 3\} you can find 4 subsets \{1, 2, 3\}.

Try to guess the number of tiles in the initial set with value i for all integers i from 1 to n.

Input

The first line contains a single integer n (4 ≤ n ≤ 100).

The second line contains two integers which represent the number of triplet subsets and straight subsets of the initial set respectively.

Output

When you are ready to answer, print a single line of form "! a_1 a_2 … a_n" (0 ≤ a_i ≤ n), where a_i is equal to the number of tiles in the initial set with value i.

Interaction

To insert a tile, print a single line of form "+ x" (1 ≤ x ≤ n), where x is the value of the tile you insert. Then you should read two integers which represent the number of triplet subsets and straight subsets of the current set respectively.

After printing a line, do not forget to flush the output. Otherwise, you will get Idleness limit exceeded. To do this, use:

  * fflush(stdout) or cout.flush() in C++; 
  * System.out.flush() in Java; 
  * flush(output) in Pascal; 
  * stdout.flush() in Python; 
  * see documentation for other languages. 



You will get Wrong answer if you insert more than n tiles.

Hacks

To make a hack you should provide a test in such format:

The first line contains a single integer n (4 ≤ n ≤ 100).

The second line contains n integers a_1,a_2,…,a_n (0 ≤ a_i ≤ n) — a_i is equal to the number of tiles with value i in the set.

Example

Input


5
1 6
2 9
5 12
5 24
6 24


Output


+ 1
+ 1
+ 2
+ 5
! 2 1 3 0 2

Note

In the first test, the initial set of tiles is \{1, 1, 2, 3, 3, 3, 5, 5\}. It has only one triplet subset \{3, 3, 3\} and six straight subsets, all equal to \{1, 2, 3\}. After inserting a tile with value 1 the set of tiles will be \{1, 1, 1, 2, 3, 3, 3, 5, 5\} and will have two triplet subsets \{1, 1, 1\}, \{3, 3, 3\} and nine straight subsets, all equal to \{1, 2, 3\}.

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
template <class T>
bool uin(T &a, T b) {
  return a > b ? (a = b, true) : false;
}
template <class T>
bool uax(T &a, T b) {
  return a < b ? (a = b, true) : false;
}
const int maxn = 101;
int n;
long long pang[maxn], chou[maxn];
pair<long long, long long> eval(const vector<long long> &a) {
  long long p = 0, c = 0;
  for (int i = 0; i < (int)(n); ++i) p += a[i] * (a[i] - 1) * (a[i] - 2) / 6;
  for (int i = 0; i < (int)(n - 2); ++i) c += a[i] * a[i + 1] * a[i + 2];
  return make_pair(p, c);
}
void rec(vector<long long> &a, vector<vector<long long> > &s,
         pair<long long, long long> p) {
  if (a.size() == n) {
    if (eval(a) == p) s.push_back(a);
    return;
  }
  for (int j = 0; j < (int)(n + 1); ++j) {
    a.push_back(j);
    rec(a, s, p);
    a.pop_back();
  }
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.precision(10);
  cout << fixed;
  cin >> n;
  if (n > 5) {
    cin >> pang[0] >> chou[0];
    for (int i = 1; i <= (int)(n); ++i) {
      cout << "+ " << i << endl;
      cin >> pang[i] >> chou[i];
    }
    vector<vector<long long> > ans;
    for (int y = 0; y < (int)(n + 1); ++y)
      for (int z = 0; z < (int)(n + 1); ++z) {
        vector<long long> res(n);
        res[n - 1] = y;
        res[n - 2] = z;
        bool ok = true;
        for (int i = n - 1; i >= 2; --i) {
          long long d = chou[i + 1] - chou[i];
          if (i + 1 < n) d -= (res[i - 1] + 1) * res[i + 1];
          if (i + 2 < n) d -= res[i + 1] * res[i + 2];
          if (d < 0 && d % (res[i - 1] + 1)) {
            ok = false;
            break;
          }
          res[i - 2] = d / (res[i - 1] + 1) - 1;
          if (res[i - 2] > n || res[i - 2] < 0) {
            ok = false;
            break;
          }
        }
        if (!ok) continue;
        long long p = 0, c = 0;
        for (int i = 0; i < (int)(n); ++i)
          p += res[i] * (res[i] - 1) * (res[i] - 2) / 6;
        for (int i = 0; i < (int)(n - 2); ++i)
          c += res[i] * res[i + 1] * res[i + 2];
        ok &= p == pang[0] && c == chou[0];
        for (int i = 0; i < (int)(n); ++i) {
          p += res[i] * (res[i] - 1) / 2;
          if (i >= 2) c += (res[i - 2] + 1) * (res[i - 1] + 1);
          if (i >= 1 && i + 1 < n) c += (res[i - 1] + 1) * res[i + 1];
          if (i + 2 < n) c += res[i + 1] * res[i + 2];
          ok &= p == pang[i + 1] && c == chou[i + 1];
        }
        if (ok) ans.push_back(res);
      }
    assert(ans.size() == 1);
    cout << "!";
    for (auto x : ans[0]) cout << ' ' << x;
    cout << '\n';
  } else {
    pair<long long, long long> ip;
    cin >> ip.first >> ip.second;
    vector<vector<long long> > s;
    vector<long long> a;
    rec(a, s, ip);
    vector<long long> add(n);
    while (s.size() > 1) {
      cerr << s.size() << '\n';
      int bs = 1e9, bi = -1;
      for (int i = 0; i < (int)(n - 1); ++i) {
        map<pair<long long, long long>, int> cnt;
        for (auto w : s) {
          w[i]++;
          ++cnt[eval(w)];
        }
        int sc = 0;
        for (auto w : cnt) uax(sc, w.second);
        if (uin(bs, sc)) bi = i;
      }
      cout << "+ " << bi + 1 << endl;
      pair<long long, long long> p;
      cin >> p.first >> p.second;
      ++add[bi];
      vector<vector<long long> > ns;
      for (auto w : s) {
        ++w[bi];
        if (eval(w) == p) ns.push_back(w);
      }
      s = ns;
    }
    cout << "!";
    for (int i = 0; i < (int)(n); ++i) cout << ' ' << s[0][i] - add[i];
    cout << '\n';
  }
  return 0;
}