#include #include #include using namespace std; int ask(string X) { cout<>x>>X; if(x==10)exit(0); return x; } int main() { ios::sync_with_stdio(false); cin.tie(nullptr); string X(10,'0'); for(int i=0;i<10;i++) { int t[10]; for(int k=0;k<10;k++) { X[i]=k+'0'; t[k]=ask(X); } int mx=0; for(int k=0;k<10;k++)if(t[mx]