#include #include #include #include using namespace std; int N; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); cin>>N; int mxi=1; for(int i=2;i<=3;i++) { cout<<"? "<>s; if(s=="Yes")mxi=i; } int A,B; if(mxi==1)A=2,B=3; else if(mxi==2)A=1,B=3; else A=1,B=2; cout<<"? "<>s; if(s=="Yes"); else swap(A,B); cout<<"!"; for(int i=0;i