#include using namespace std; using ll =long long; #define all(v) v.begin(),v.end() #define rep(i,a,b) for(int i=a;i=b;i--) int main() { ll N;cin>>N; for(ll i=1;i<=N;i+=2) { cout<<"? "<>z; if(z==i) { cout<<"! "<