#include #include using namespace std; int main(){ string key(10, 'a'); string reply; int x; for (int i = 0; i < 10; i++){ for (int j = 0; j < 10; j++){ key[i] = '0' + j; cout << key << endl; cin >> x >> reply; if (x == i+1) break; } } return 0; }