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;
using i64 = long long;
const int maxN = 123;
const int P = 998244353;
int p[123], q[123];
int n;
vector<vector<int>> pat;
void genpattern(int d) {
  if (d == n) {
    pat.push_back(vector<int>(p, p + n));
  } else {
    for (int x = 0; x <= n; x++) {
      p[d] = x;
      genpattern(d + 1);
    }
  }
}
pair<int, int> eval(vector<int> q) {
  int s = 0, t = 0;
  for (int i = 0; i < n - 2; i++) s += q[i] * q[i + 1] * q[i + 2];
  for (int i = 0; i < n; i++) {
    t += q[i] * (q[i] - 1) * (q[i] - 2) / 6;
  }
  return {s, t};
}
int add[maxN];
vector<int> Tp;
void solvesmall() {
  genpattern(0);
  for (int i = 0; i <= n; i++) {
    int s, t;
    scanf("%d%d", &t, &s);
    vector<vector<int>> npat;
    for (auto q : pat) {
      auto ss = eval(q);
      if (eval(q) == make_pair(s, t)) {
        npat.push_back(q);
      }
    }
    pat = npat;
    assert(!pat.empty());
    if (pat.size() == 1) {
      printf("!");
      for (int i = 0; i < n; i++) printf(" %d", pat[0][i] - add[i]);
      printf("\n");
      fflush(stdout);
      return;
    }
    int maxd = -1, maxw = 1 << 30;
    for (int d = 0; d < n; d++) {
      map<pair<int, int>, int> cnt;
      for (auto q : pat) {
        auto p = q;
        p[d] += 1;
        auto r = eval(p);
        cnt[r] += 1;
      }
      int maxcls = 0;
      for (auto q : cnt) maxcls = max(maxcls, q.second);
      if (maxcls <= maxw) {
        maxw = maxcls;
        maxd = d;
      }
    }
    add[maxd]++;
    printf("+ %d\n", maxd + 1);
    Tp[maxd] += 1;
    for (auto &p : pat) p[maxd]++;
    fflush(stdout);
  }
}
int fs[maxN], ft[maxN], c[maxN], d[maxN];
bool check(int *d) {
  for (int i = 1; i <= n; i++) {
    if (d[i] < 0 || d[i] > n) return 0;
  }
  for (int i = 0; i <= n; i++) {
    auto w = eval(vector<int>(d + 1, d + n + 1));
    if (w != make_pair(fs[i], ft[i])) return 0;
    d[i + 1]++;
  }
  return 1;
}
void solvelarge() {
  auto w = eval(Tp);
  scanf("%d%d", ft + 0, fs + 0);
  for (int i = 1; i <= n; i++) {
    printf("+ %d\n", i);
    Tp[i - 1]++;
    fflush(stdout);
    auto w = eval(Tp);
    scanf("%d%d", ft + i, fs + i);
  }
  for (int i = 1; i <= n; i++) {
    int pt = ft[i] - ft[i - 1];
    if (pt == 0) {
      c[i] = -1;
    } else {
      for (int x = 1; x <= n; x++)
        if (x * (x + 1) / 2 == pt) c[i] = x + 1;
    }
  }
  for (int p1 = (c[n] == -1) ? 0 : c[n]; p1 <= ((c[n] == -1) ? 1 : c[n]); p1++)
    for (int p2 = (c[n - 1] == -1) ? 0 : c[n - 1];
         p2 <= ((c[n - 1] == -1) ? 1 : c[n - 1]); p2++)
      for (int p3 = ((c[n - 2] == -1) ? 0 : c[n - 2]);
           p3 <= ((c[n - 2] == -1) ? 1 : c[n - 2]); p3++) {
        d[n + 1] = 0;
        d[n] = p1;
        d[n - 1] = p2;
        d[n - 2] = p3;
        bool valid = 1;
        for (int i = n - 1; i >= 3; i--) {
          int ps = fs[i] - fs[i - 1];
          int w = (d[i - 1] + 1) * d[i + 1] + d[i + 1] * d[i + 2];
          if (ps <= w || (ps - w) % (d[i - 1] + 1) != 0) {
            valid = 0;
            break;
          }
          d[i - 2] = (ps - w) / (d[i - 1] + 1) - 1;
        }
        if (valid && check(d)) {
          printf("!");
          for (int i = 1; i <= n; i++) {
            printf(" %d", d[i] - 1);
          }
          puts("");
          fflush(stdout);
        }
      }
}
int main() {
  scanf("%d", &n);
  Tp = vector<int>(n, 0);
  if (n <= 5) {
    solvesmall();
  } else {
    solvelarge();
  }
}