Problem: This is an interactive problem.

n people sitting in a circle are trying to shuffle a deck of cards. The players are numbered from 1 to n, so that players i and i+1 are neighbours (as well as players 1 and n). Each of them has exactly k cards, where k is even. The left neighbour of a player i is player i - 1, and their right neighbour is player i + 1 (except for players 1 and n, who are respective neighbours of each other).

Each turn the following happens: if a player has x cards, they give ⌊ x / 2 ⌋ to their neighbour on the left and ⌈ x / 2 ⌉ cards to their neighbour on the right. This happens for all players simultaneously.

However, one player p is the impostor and they just give all their cards to their neighbour on the right. You know the number of players n and the number of cards k each player has initially, but p is unknown to you. Your task is to determine the value of p, by asking questions like "how many cards does player q have?" for an index q of your choice. After each question all players will make exactly one move and give their cards to their neighbours. You need to find the impostor by asking no more than 1000 questions.

Input

The first line contains two integers n and k (4 ≤ n ≤ 10^5, 2 ≤ k ≤ 10^9, k is even) — the number of players and the number of cards.

Interaction

You can ask questions by printing "? q". The answer to this question is the number of cards player q has now (1 ≤ q ≤ n). The shuffling process starts immediately after your first question, so the answer to the first one is always equal to k.

Once you have identified the impostor, you can output the answer by printing "! p", where p is the player who is the impostor (1 ≤ p ≤ n). Then you have to terminate your program.

You have to find the impostor by asking no more than 1000 questions. 

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.



Hacks

To make a hack, use the following test format.

The only line of input should contain three integers n, k and p (4 ≤ n ≤ 10^5, 2 ≤ k ≤ 10^9, k is even, 1 ≤ p ≤ n) — the number of people, the number of cards each person has initially, and the position of the impostor.

Example

Input


4 2

2

1

2

3

2


Output


? 1

? 1

? 2

? 3

? 4

! 2

Note

In the example the cards are transferred in the following way:

  * 2 2 2 2 — player 1 has 2 cards.
  * 1 2 3 2 — player 1 has 1 card.



After this turn the number of cards remains unchanged for each player.

Solution (in CPP):

Solution:
#include <algorithm>
#include <cassert>
#include <chrono>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <string>
#include <vector>
#include <variant>
#include <sstream>
#include <memory>

using namespace std;

#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define reunique(v) v.resize(std::unique(v.begin(), v.end()) - v.begin())
#define sz(v) ((int)(v).size())

#define vec1d(x) vector<x>
#define vec2d(x) vector<vec1d(x)>
#define vec3d(x) vector<vec2d(x)>
#define vec4d(x) vector<vec3d(x)>

#define ivec1d(x, n, v) vec1d(x)(n, v)
#define ivec2d(x, n, m, v) vec2d(x)(n, ivec1d(x, m, v))
#define ivec3d(x, n, m, k, v) vec3d(x)(n, ivec2d(x, m, k, v))
#define ivec4d(x, n, m, k, l, v) vec4d(x)(n, ivec3d(x, m, k, l, v))

#ifdef LOCAL
#include "pretty_print.h"
#define dbg(...) cerr << "[" << #__VA_ARGS__ << "]: ", debug_out(__VA_ARGS__)
#else
#define dbg(...) 42
#endif

#define nl "\n"

typedef long double ld;
typedef long long ll;
typedef unsigned long long ull;

template <typename T> T sqr(T x) { return x * x; }
template <typename T> T abs(T x) { return x < 0? -x : x; }
template <typename T> T gcd(T a, T b) { return b? gcd(b, a % b) : a; }
template <typename T> bool chmin(T &x, const T& y) { if (x > y) { x = y; return true; } return false; }
template <typename T> bool chmax(T &x, const T& y) { if (x < y) { x = y; return true; } return false; }

auto random_address = [] { char *p = new char; delete p; return (uint64_t) p; };
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count() * (random_address() | 1));
mt19937_64 rngll(chrono::steady_clock::now().time_since_epoch().count() * (random_address() | 1));

vector<ll> A;
int P;

int n, k;

void next(vector<ll>& a, int p = 0) {
    vector<ll> b(n, 0);
    for (int i = 0; i < n; ++i) {
        int x = i == p? 0 : a[i] / 2;
        b[(i + n - 1) % n] += x;
        b[(i + n + 1) % n] += a[i] - x;
    }
    a.swap(b);
}

int query(int x) {
    cout << "? " << x + 1 << endl;
    cout.flush();
    int ret;
#ifdef LOCAL
    ret = A[x];
    next(A, P);
#else
    cin >> ret;
#endif
    return ret;
}

void answer(int x) {
    cout << "! " << x + 1 << endl;
    cout.flush();
#ifdef LOCAL
    assert(x == P);
#endif
}


int main(int /* argc */, const char** /* argv */)
{
#ifdef LOCAL
    assert(freopen("i.txt", "r", stdin));
    assert(freopen("o.txt", "w", stdout));
#endif

    int k;
    cin >> n >> k;
    // for (;;) {
    //     n = uniform_int_distribution<>(4, 100000)(rng);
        vector<ll> a(n, k);
        A = a;
        P = uniform_int_distribution<>(0, n - 1)(rng);

        vector<int> f(n, true);
        int m = n;
        int cnt = 0;

        vector<int> last;
        bool stop = false;
        for (int iter = 0; iter < 1000 && m > 1; ++iter) {
            ++cnt;
            int x;
            if (n <= 500) {
                x = iter % n;
            } else {
                if (last.size() == 0) {
                    int idx = uniform_int_distribution<>(0, n - 1)(rng);
                    last.push_back(idx);
                    stop = false;
                }
                x = stop? last.back() : (last.back() + iter) % n;
                if (!stop) {
                    last.push_back(x);
                }
            }
            int v = query(x);
            if (v != k) {
                stop = true;
                if (last.size()) {
                    last.pop_back();
                }
            }

            for (int i = 0; i < n; ++i) {
                int y = (x - i + n) % n;
                if (f[y] && a[i] != v) {
                    f[y] = false;
                    --m;
                }
            }

            next(a);
        }

        dbg(n, P, m, cnt);
        for (int i = 0; i < n; ++i) {
            if (f[i]) {
                answer(i);
            }
        }
    // }

#ifdef LOCAL
    cerr << "Time execute: " << clock() / (double)CLOCKS_PER_SEC << " sec" << endl;
#endif
    return 0;
}