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>
const long long md = 1e9 + 7;
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n;
  cin >> n;
  long long triple, triple1, triple2, triple3, triple4, straight, straight1,
      straight2, straight3, straight4, diff1, diff2;
  long long triple_old1, triple_old2, triple_old3, triple_old4, straight_old1,
      straight_old2, straight_old3, straight_old4, straight_temp,
      straight_temp1;
  cin >> triple >> straight;
  int rm = n % 4;
  int times = n / 4 - 1;
  long long ans[n + 4];
  long long temp[n + 4];
  for (int i = 0; i < n + 4; i++) ans[i] = 0;
  for (int i = 0; i < n + 4; i++) temp[i] = 0;
  cout << "+ " << 3 << endl;
  cin >> triple_old1 >> straight_old1;
  cout << "+ " << 1 << endl;
  cin >> triple_old2 >> straight_old2;
  cout << "+ " << 2 << endl;
  cin >> triple_old3 >> straight_old3;
  cout << "+ " << 1 << endl;
  cin >> triple_old4 >> straight_old4;
  straight_temp = straight_old4;
  straight_old4 = straight_old4 - straight_old3;
  straight_old3 = straight_old3 - straight_old2;
  straight_old2 = straight_old2 - straight_old1;
  straight_old1 = straight_old1 - straight;
  ans[3] = straight_old4 - straight_old2 - 1;
  diff1 = triple_old2 - triple_old1;
  diff2 = triple_old4 - triple_old3;
  if ((diff1 == 0) && (diff2 == 0))
    ans[1] = 0;
  else if ((diff1 == 0) && (diff2 == 1))
    ans[1] = 1;
  else
    ans[1] = (sqrt(8 * diff1 + 1) + 1) / 2;
  ans[2] = straight_old2 / (ans[3] + 1);
  ans[4] = (straight_old3 - (ans[1] + 1) * (ans[3] + 1)) / (ans[3] + 1);
  temp[1] = ans[1] + 2;
  temp[2] = ans[2] + 1;
  temp[3] = ans[3] + 1;
  temp[4] = ans[4];
  int index = 5;
  while (times-- > 0) {
    cout << "+ " << index + 2 << endl;
    cin >> triple1 >> straight1;
    cout << "+ " << index << endl;
    cin >> triple2 >> straight2;
    cout << "+ " << index + 1 << endl;
    cin >> triple3 >> straight3;
    cout << "+ " << index << endl;
    cin >> triple4 >> straight4;
    straight_temp1 = straight4;
    straight4 = straight4 - straight3;
    straight3 = straight3 - straight2;
    straight2 = straight2 - straight1;
    straight1 = straight1 - straight_temp;
    straight_temp = straight_temp1;
    ans[index + 2] = straight4 - straight2 - 1 - temp[index - 1];
    diff1 = triple2 - triple1;
    diff2 = triple4 - triple3;
    if ((diff1 == 0) && (diff2 == 0))
      ans[index] = 0;
    else if ((diff1 == 0) && (diff2 == 1))
      ans[index] = 1;
    else
      ans[index] = (sqrt(8 * diff1 + 1) + 1) / 2;
    ans[index + 1] = (straight2 - temp[index - 1] * temp[index - 2]) /
                     (temp[index - 1] + ans[index + 2] + 1);
    ans[index + 3] = (straight3 - temp[index - 1] * (ans[index] + 1) -
                      (ans[index] + 1) * (ans[index + 2] + 1)) /
                     (ans[index + 2] + 1);
    triple_old1 = triple1;
    triple_old2 = triple2;
    triple_old3 = triple3;
    triple_old4 = triple4;
    straight_old1 = straight1;
    straight_old2 = straight2;
    straight_old3 = straight3;
    straight_old4 = straight4;
    temp[index] = ans[index] + 2;
    temp[index + 1] = ans[index + 1] + 1;
    temp[index + 2] = ans[index + 2] + 1;
    temp[index + 3] = ans[index + 3];
    index += 4;
  }
  if (rm == 3) {
    cout << "+ " << index - 1 << endl;
    cin >> triple1 >> straight1;
    cout << "+ " << index << endl;
    cin >> triple2 >> straight2;
    cout << "+ " << index + 1 << endl;
    cin >> triple3 >> straight3;
    straight3 = straight3 - straight2;
    straight2 = straight2 - straight1;
    straight1 = straight1 - straight_temp;
    long long c1 = straight1 - temp[index - 3] * temp[index - 2];
    long long c2 = straight2 - temp[index - 2] * (temp[index - 1] + 1);
    long long c3 = straight3 - (temp[index - 1] + 1);
    long long a1 = c3 + temp[index - 1] + 1;
    long long a2 =
        temp[index - 2] * (temp[index - 1] + 1) - c2 + c3 * temp[index - 2];
    long long a3 = c1 * c2 + c2 * temp[index - 2];
    if (c2 == 0)
      ans[index + 1] = 0;
    else
      ans[index + 1] = (sqrt(a2 * a2 + 4 * a1 * a3) - a2) / (2 * a1);
    if (c3 == 0) {
      ans[index] = 0;
      ans[index + 2] = 0;
    } else {
      ans[index] = (c1) / (temp[index - 2] + ans[index + 1]);
      ans[index + 2] =
          (c3 - (temp[index - 1] + 1) * ans[index]) / (ans[index] + 1);
    }
  } else if (rm == 2) {
    cout << "+ " << index - 1 << endl;
    cin >> triple >> straight;
    cout << "+ " << index << endl;
    cin >> triple1 >> straight1;
    straight1 = straight1 - straight;
    straight = straight - straight_temp;
    ans[index + 1] = (straight1 - temp[index - 2] * (temp[index - 1] + 1)) /
                     (temp[index - 1] + 1);
    ans[index] = (straight - temp[index - 3] * temp[index - 2]) /
                 (temp[index - 2] + ans[index + 1]);
  } else if (rm == 1) {
    cout << "+ " << index - 1 << endl;
    cin >> triple >> straight;
    straight = straight - straight_temp;
    ans[index] =
        (straight - temp[index - 3] * temp[index - 2]) / temp[index - 2];
  } else
    ;
  cout << "!";
  for (int i = 1; i < n + 1; i++) cout << " " << ans[i];
  cout << endl;
  return 0;
}