#include using namespace std; using Int = long long; //INSERT ABOVE HERE Int ask(string s){ cout<>k>>s; if(k==10) exit(0); return k; } signed main(){ const Int n=10; string s(n,'0'); for(Int i=0;ip) p=ask(s),k=j; } s[i]=char('0'+k); } return 0; }