#include using namespace std; int main() { int i=0; int x,zerox; int ans[10]; string rep; cout << "0000000000" << endl; cin >> zerox >> rep; for(int i=0;i<10;i++){ for(int j=0;j<10;j++){ for(int k=0;k<10;k++){ if(k==i){ cout << j; }else{ cout << '0'; } } cout << endl; cin >> x >> rep; if(x>zerox){ ans[i]=j; break; }else if(x