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;
const int N = 220;
int n, m;
namespace GRD {
int h[N];
void init() {
  int i;
  for (i = 1; i <= n; i++) scanf("%d ", &h[i]);
}
void qry(int w, int &x, int &y) {
  int i;
  h[w]++;
  x = y = 0;
  for (i = 1; i <= n; i++) {
    x += h[i] * (h[i] - 1) * (h[i] - 2) / 6;
    y += h[i] * h[i + 1] * h[i + 2];
  }
}
}  // namespace GRD
int a[N], b[N], p[N], pl[N], s[N];
int qvl(int w) { return lower_bound(pl + 1, pl + m + 1, w) - pl; }
void qry(int w, int &x, int &y) {
  printf("+ %d\n", w);
  fflush(stdout);
  scanf("%d%d", &x, &y);
}
int main() {
  int i, tag, val;
  scanf("%d", &n);
  m = n + 5;
  scanf("%d%d", &a[0], &b[0]);
  for (i = 3; i <= m; i++) pl[i] = i * (i - 1) * (i - 2) / 6;
  for (i = m; i >= 3; i--) pl[i] -= pl[i - 1];
  qry(2, a[1], b[1]);
  qry(1, a[2], b[2]);
  qry(3, a[3], b[3]);
  qry(1, a[4], b[4]);
  p[2] = (b[4] - b[3]) - (b[2] - b[1]) - 1;
  p[3] = (b[2] - b[1]) / (p[2] + 1);
  if (a[4] - a[3] == 0)
    p[1] = 0;
  else
    p[1] = qvl(a[4] - a[3]) - 2;
  tag = ((b[3] - b[2]) - (p[1] + 1) * (p[2] + 1) != 0);
  for (i = 4; i < n; i++) {
    qry(i, a[i + 1], b[i + 1]);
    if (a[i + 1] == a[i]) {
      p[i] = tag;
    } else {
      p[i] = qvl(a[i + 1] - a[i]) - 1;
    }
    tag = ((b[i + 1] - b[i]) - (p[i - 2] + 1) * (p[i - 1] + 1) != 0);
  }
  s[1] = p[1] + 2;
  for (i = 2; i < n; i++) s[i] = p[i] + 1;
  val = b[n];
  for (i = 1; i + 2 < n; i++) val -= s[i] * s[i + 1] * s[i + 2];
  val /= s[n - 2] * s[n - 1];
  p[n] = val;
  printf("! ");
  for (i = 1; i <= n; i++) printf("%d ", p[i]);
  fflush(stdout);
  return 0;
}