#include #include using namespace std; int main() { int x = 0, y = 199; string a; while (true) { cout << x << " " << y << endl; string a; cin >> a; if (a[0] == '-') ++x; else --y; } return 0; }