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 <typename T>
void debug_out(T t) {
  cerr << t;
}
template <typename A, typename B>
void debug_out(pair<A, B> u) {
  cerr << "(" << u.first << " " << u.second << ")";
}
template <typename T>
void debug_out(vector<T> t) {
  int sz = t.size();
  for (int i = 0; i < sz; i++) {
    debug_out(t[i]);
    if (i != sz - 1) cerr << ", ";
  }
}
template <typename T>
void debug_out(vector<vector<T>> t) {
  int sz = t.size();
  for (int i = 0; i < sz; i++) {
    debug_out(t[i]);
    if (i != sz - 1) cerr << endl;
  }
}
template <typename Head, typename... Tail>
void debug_out(Head H, Tail... T) {
  debug_out(H);
  cerr << " ";
  debug_out(T...);
}
template <typename T>
void debug_out(set<T> a) {
  vector<T> _a;
  for (T t : a) _a.push_back(t);
  debug_out(_a);
}
int n;
int main() {
  cin >> n;
  int triple;
  int straight;
  cin >> triple >> straight;
  vector<int> res(n, -1);
  vector<int> cur(n, -1);
  auto add = [&](int x) {
    cout << "+ " << x + 1 << endl;
    int a, b;
    cin >> a >> b;
    return make_pair(a, b);
  };
  auto update = [&](pair<int, int> foo) {
    triple = foo.first;
    straight = foo.second;
  };
  update(add(2));
  pair<int, int> mes = add(3);
  int ans = mes.second - straight;
  pair<int, int> bonus = add(1);
  int ps = bonus.second - mes.second;
  pair<int, int> foo = add(3);
  if (foo.first == bonus.first) {
    res[3] = 0;
    cur[3] = 2;
  } else {
    cur[3] = 0;
    while (cur[3] * (cur[3] - 1) / 2 < foo.first - bonus.first) cur[3]++;
    cur[3]++;
    res[3] = cur[3] - 2;
  }
  res[2] = foo.second - mes.second - bonus.second + straight - 1;
  cur[2] = res[2] + 1;
  res[0] = ps / (res[2] + 1) - res[3] - 1;
  cur[0] = res[0];
  update(foo);
  if (n == 4) {
    res[1] = ans / (res[2] + 1);
    cur[1] = res[1] + 1;
  } else if (n == 5) {
    foo = add(1);
    cur[1] = 0;
    while (cur[1] * (cur[1] - 1) / 2 < foo.first - triple) cur[1]++;
    cur[1]++;
    if (cur[1] == 1) cur[1]++;
    res[1] = cur[1] - 2;
    res[4] = (ans - (res[2] + 1) * res[1]) / (res[2] + 1);
    cur[4] = res[4];
    update(foo);
  } else {
    for (int i = 4; i + 3 < n; i += 4) {
      foo = add(i + 3);
      bonus = add(i + 1);
      mes = add(i + 3);
      res[i + 2] = cur[i + 2] =
          mes.second - foo.second - bonus.second + straight;
      cur[i + 3] = 0;
      while (cur[i + 3] * (cur[i + 3] - 1) / 2 < mes.first - bonus.first)
        cur[i + 3]++;
      cur[i + 3]++;
      if (cur[i + 3] == 1) cur[i + 3]++;
      res[i + 3] = cur[i + 3] - 2;
      cur[i] = res[i] =
          (bonus.second - foo.second - res[i + 2] * (res[i + 3] + 1)) /
          (res[i + 2] + cur[i - 1]);
      foo = add(i + 1);
      cur[i + 1] = 0;
      while (cur[i + 1] * (cur[i + 1] - 1) / 2 < foo.first - mes.first)
        cur[i + 1]++;
      cur[i + 1]++;
      cur[i + 1] = max(cur[i + 1], 2);
      res[i + 1] = cur[i + 1] - 2;
      update(foo);
    }
    if (n % 4 == 1) {
      foo = add(n - 3);
      cur[n - 3]++;
      int base = foo.second - straight - cur[n - 4] * cur[n - 5] -
                 cur[n - 4] * cur[n - 2];
      res[n - 1] = cur[n - 1] = base / cur[n - 2];
      update(foo);
    }
    if (n % 4 == 2) {
      foo = add(n - 2);
      int base = foo.second - straight - cur[n - 4] * cur[n - 3];
      res[n - 1] = cur[n - 1] = base / cur[n - 3];
      update(foo);
      foo = add(n - 1);
      cur[n - 1]++;
      base = foo.second - straight;
      cur[n - 2] = base / cur[n - 3];
      res[n - 2] = cur[n - 2] - 1;
      update(foo);
    }
    if (n % 4 == 3) {
      foo = add(n - 3);
      bonus = add(n - 2);
      mes = add(n - 3);
      cur[n - 3] = 0;
      while (cur[n - 3] * (cur[n - 3] - 1) / 2 < mes.first - bonus.first)
        cur[n - 3]++;
      cur[n - 3]++;
      if (cur[n - 3] == 1) cur[n - 3]++;
      res[n - 3] = cur[n - 3] - 2;
      int base = bonus.second - foo.second - cur[n - 4] * (res[n - 3] + 1);
      res[n - 1] = cur[n - 1] = base / (res[n - 3] + 1);
      base = mes.second - bonus.second - cur[n - 4] * cur[n - 5];
      cur[n - 2] = base / (cur[n - 4] + cur[n - 1]);
      res[n - 2] = cur[n - 2] - 1;
      update(mes);
    }
    res[1] = (ans - res[4] * res[5] - (res[2] + 1) * res[4]) / (res[2] + 1);
    cur[1] = res[1] + 1;
  }
  cout << "! ";
  for (int i : res) cout << i << " ";
  cout << endl;
  return 0;
}