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;
int ans[2000];
int hidden[2000];
vector<long long int> diff;
int n;
pair<long long int, long long int> get(int x) {
  if (0) {
    if (x != -1) hidden[x - 1]++;
    pair<long long int, long long int> R = {0, 0};
    for (int i = 0; i < n; i++) {
      R.first += (hidden[i] * (hidden[i] - 1) * (hidden[i] - 2)) / 6;
    }
    for (int i = 2; i < n; i++) {
      R.second += hidden[i] * hidden[i - 1] * hidden[i - 2];
    }
    cout << R.first << " " << R.second << endl;
    return R;
  } else {
    if (x != -1) cout << "+ " << x << endl;
    pair<long long int, long long int> R;
    cin >> R.first >> R.second;
    return R;
  }
}
bool solve() {
  for (int i = 3; i < n; i++) {
    if (i > 3) {
      if ((diff[n - i] - ans[i - 4] * ans[i - 3] -
           ans[i - 3] * (ans[i - 1] + 1)) %
              (ans[i - 1] + 1) !=
          0)
        return false;
      ans[i] = (diff[n - i] - ans[i - 4] * ans[i - 3] -
                ans[i - 3] * (ans[i - 1] + 1)) /
                   (ans[i - 1] + 1) -
               1;
    } else {
      if ((diff[n - i] - ans[i - 3] * (ans[i - 1] + 1)) % (ans[i - 1] + 1) != 0)
        return false;
      ans[i] =
          (diff[n - i] - ans[i - 3] * (ans[i - 1] + 1)) / (ans[i - 1] + 1) - 1;
    }
    if (i < n - 1 && (ans[i] < 0 || ans[i] > n)) return false;
  }
  ans[n - 1]++;
  return true;
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cin >> n;
  if (0) {
    for (int i = 0; i < n; i++) cin >> hidden[i];
  }
  vector<pair<long long int, long long int> > V;
  if (n == 4) {
    V.push_back(get(-1));
    V.push_back(get(3));
    V.push_back(get(1));
    V.push_back(get(2));
    V.push_back(get(1));
    for (int i = 0; i < n + 1; i++) {
      if (V[4].first - V[3].first == (i * (i + 1)) / 2) ans[0] = i;
    }
    for (int i = 0; i < 1; i++) {
      long long int u = V[i + 1].first - V[i].first;
      if (u == 0) {
        ans[2] = -1;
      } else {
        for (int j = 0; j < n + 1; j++) {
          if ((j * (j - 1)) / 2 == u) {
            ans[2] = j;
          }
        }
      }
    }
    for (int i = 2; i < 3; i++) {
      long long int u = V[i + 1].first - V[i].first;
      if (u == 0) {
        ans[1] = -1;
      } else {
        for (int j = 0; j < n + 1; j++) {
          if ((j * (j - 1)) / 2 == u) {
            ans[1] = j;
          }
        }
      }
    }
    ans[2] = V[4].second - V[3].second - V[2].second + V[1].second - 1;
    ans[1] = (V[4].second - V[3].second) / (ans[2] + 1) - 1;
    ans[3] = (V[3].second - V[2].second - (ans[0] + 1) * (ans[2] + 1)) /
             (ans[2] + 1);
    cout << "! ";
    for (int i = 0; i < n; i++) cout << ans[i] << " ";
    cout << endl;
    return 0;
  }
  V.push_back(get(-1));
  for (int i = n - 1; i > 0; i--) {
    V.push_back(get(i));
  }
  V.push_back(get(1));
  vector<int> positions;
  for (int i = 0; i < n; i++) ans[i] = -1;
  for (int i = 0; i < n - 1; i++) {
    long long int u = V[i + 1].first - V[i].first;
    if (u == 0) {
      ans[n - 2 - i] = -1;
      positions.push_back(i);
    } else {
      for (int j = 0; j < n + 1; j++) {
        if ((j * (j - 1)) / 2 == u) {
          ans[n - 2 - i] = j;
        }
      }
    }
  }
  long long int u = V[n].first - V[n - 1].first;
  if (ans[0] == -1) {
    ans[0] = u;
  }
  for (int i = 0; i < n; i++) diff.push_back(V[i + 1].second - V[i].second);
  if (ans[1] == -1 && ans[2] == -1) {
    if (diff[n - 1] == 2) {
      ans[1] = 0;
      ans[2] = 1;
      if (!solve()) {
        ans[1] = 1;
        ans[2] = 0;
        solve();
      }
      cout << "! ";
      for (int i = 0; i < n; i++) cout << ans[i] << " ";
      cout << endl;
      return 0;
    }
    ans[1] = (diff[n - 1] != 1);
    ans[2] = ans[1];
  }
  if (ans[1] == -1) {
    ans[1] = diff[n - 1] / (ans[2] + 1) - 1;
  }
  if (ans[2] == -1) {
    ans[2] = diff[n - 1] / (ans[1] + 1) - 1;
  }
  solve();
  cout << "! ";
  for (int i = 0; i < n; i++) cout << ans[i] << " ";
  cout << endl;
  return 0;
}