Problem: Ray lost his array and needs to find it by asking Omkar. Omkar is willing to disclose that the array has the following qualities:

  1. The array has n (1 ≤ n ≤ 2 ⋅ 10^5) elements. 
  2. Every element in the array a_i is an integer in the range 1 ≤ a_i ≤ 10^9. 
  3. The array is sorted in nondecreasing order. 



Ray is allowed to send Omkar a series of queries. A query consists of two integers, l and r such that 1 ≤ l ≤ r ≤ n. Omkar will respond with two integers, x and f. x is the mode of the subarray from index l to index r inclusive. The mode of an array is defined by the number that appears the most frequently. If there are multiple numbers that appear the most number of times, the smallest such number is considered to be the mode. f is the amount of times that x appears in the queried subarray.

The array has k (1 ≤ k ≤ min(25000,n)) distinct elements. However, due to Ray's sins, Omkar will not tell Ray what k is. Ray is allowed to send at most 4k queries.

Help Ray find his lost array.

Input

The only line of the input contains a single integer n (1 ≤ n ≤ 2 ⋅ 10^5), which equals to the length of the array that you are trying to find.

Interaction

The interaction starts with reading n.

Then you can make one type of query:

  * "? \enspace l \enspace r" (1 ≤ l ≤ r ≤ n) where l and r are the bounds of the subarray that you wish to query. 



The answer to each query will be in the form "x \enspace f" where x is the mode of the subarray and f is the number of times x appears in the subarray.

  * x satisfies (1 ≤ x ≤ 10^9). 
  * f satisfies (1 ≤ f ≤ r-l+1). 
  * If you make more than 4k queries or violate the number range in the query, you will get an output "-1." 
  * If you terminate after receiving the response "-1", you will get the "Wrong answer" verdict. Otherwise you can get an arbitrary verdict because your solution will continue to read from a closed stream. 



To output your answer, print:

  * "! \enspace a_1 \enspace a_2 \enspace … \enspace a_{n-1} \enspace a_n" which is an exclamation point followed by the array with a space between every element. 



And quit after that. This query is not counted towards the 4k queries limit.

After printing a query do not forget to output end of line and 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.



Hack Format

To hack, output 1 integer on the first line, n (1 ≤ n ≤ 2 ⋅ 10^5). On the second line output n integers a_1, a_2, …, a_{n-1}, a_n separated by a space such that there are at most 25000 distinct numbers and a_j ≤ a_{j+1} for all j from 1 to n-1.

Example

Input


6

2 2

2 2

3 2

2 1


Output


? 1 6

? 1 3

? 4 6

? 3 4

! 1 2 2 3 3 4

Note

The first query is l=1 and r=6. The mode is 2, and 2 appears 2 times, so x=2 and f=2. Note that 3 also appears two times, but 2 is outputted because 2 is smaller.

The second query is l=1 and r=3. The mode is 2 and 2 appears twice in the subarray with indices [1,3].

The third query is l=4 and r=6. The mode is 3 and 3 appears twice in the subarray with indices [4,6].

The fourth query is l=3 and r=4. The mode is 2, which appears once in the subarray with indices [3,4]. Note that 3 also appears once in that range, but 2 is smaller than 3.

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 5, M = 26 + 5;
const long long INF = 1e18 + 5;
inline long long read() {
  long long sum = 0, fh = 1;
  char c = getchar();
  while (c < '0' || c > '9') {
    if (c == '-') fh = -1;
    c = getchar();
  }
  while (c >= '0' && c <= '9') {
    sum = sum * 10 + c - '0';
    c = getchar();
  }
  return sum * fh;
}
inline int read2() {
  char c = getchar();
  while (c < '0' || c > '9') c = getchar();
  return c - '0';
}
inline int read3() {
  char c = getchar();
  while (c < 'a' || c > 'z') {
    c = getchar();
  }
  return c - 'a';
}
inline void write(long long x) {
  if (x < 0) putchar('-'), x = -x;
  if (x > 9) write(x / 10);
  putchar(x % 10 + '0');
}
inline int gcd(int x, int y) { return y == 0 ? x : gcd(y, x % y); }
inline long long ab(long long x) { return x < 0 ? -x : x; }
inline long long fpow(long long qwe, long long asd, long long zxc) {
  if (asd < 0) return 0;
  long long a = qwe, b = 1, c = asd;
  while (c) {
    if (c & 1) b = b * a % zxc;
    a = a * a % zxc;
    c >>= 1;
  }
  return b;
}
struct miaow {
  int l, r, x;
  miaow(int l = 0, int r = 0, int x = 0) : l(l), r(r), x(x) {}
};
vector<miaow> ans;
map<int, int> qwe;
inline int dfs(int l, int r, int x, int y) {
  if (l > r) return 0;
  cout << "? " << l << " " << r << endl;
  int a, b;
  cin >> a >> b;
  if (b == r - l + 1) {
    if (a == x) return l;
    ans.push_back(miaow(l, r, a));
    return 0;
  }
  if (a == x) {
    if (b != y) {
      dfs(l, r - b, 0, 0);
      return r - b + 1;
    } else {
      if (l == r) {
        ans.push_back(miaow(l, r, a));
        return 0;
      }
      int mid = (l + r) >> 1;
      int z = dfs(l, mid, x, y);
      if (z) {
        ans.push_back(miaow(z, z + y - 1, x));
        dfs(z + y, r, 0, 0);
      } else {
        dfs(mid + 1, r, 0, 0);
      }
      return 0;
    }
  } else {
    if (l == r) {
      ans.push_back(miaow(l, r, a));
      return 0;
    }
    int mid = (l + r) >> 1;
    int z = dfs(l, mid, a, b);
    if (z) {
      ans.push_back(miaow(z, z + b - 1, a));
      return dfs(z + b, r, x, y);
    } else
      return dfs(mid + 1, r, x, y);
  }
}
int sz[N];
int main() {
  int n = read();
  dfs(1, n, 0, 0);
  for (int i = 0; i < ans.size(); ++i) {
    for (int j = ans[i].l; j <= ans[i].r; ++j) {
      sz[j] = ans[i].x;
    }
  }
  cout << "! ";
  for (int i = 1; i <= n; ++i) {
    cout << sz[i] << " ";
  }
  fflush(stdout);
  return 0;
}