# include # include # define endl '\n' using namespace std; int h, x, y; int main () { h = 1; x = 0; y = 0; while ( h != 0 ) { cout << x << " " << y << endl; cout.flush(); cin >> h; x = x + 1; if ( x == 199 ) { y = y + 1; x = 0; } } return 0; return 0; }