#include <bits/stdc++.h>
#pragma warning(disable : 4996)
using namespace std;
int debug_val = 1;
double ax = 50007, ay = 28649;
int ask(double x, double y) {
  printf("%.9f %.9f\n", x, y);
  fflush(stdout);
  if (debug_val) {
    if (x == ax && y == ay) return -1;
    double dist = sqrt((ax - x) * (ax - x) + (ay - y) * (ay - y));
    if (dist <= 100000.0000001) return 1;
    return 0;
  }
  char c[15];
  scanf("%s", c);
  assert(c[0] != 'k');
  if (c[0] == 'f' && c[1] == 'o') return -1;
  return c[0] == 'c';
}
int main() {
  int fx = -1, fy = -1;
  for (int i = 0; i <= 7 && fx == -1; i++) {
    for (int j = 0; j <= 7 && fx == -1; j++) {
      int res = ask(i * 1000000 / 7.0, j * 1000000 / 7.0);
      if (res == -1) return 0;
      if (res == 1) fx = i, fy = j;
    }
  }
  double cx = fx * 1000000 / 7.0, cy = fy * 1000000 / 7.0;
  double la = -145140.0, ra = cy;
  for (int i = 0; i < 66; i++) {
    double m = (la + ra) * 0.5;
    int res = ask(cx, m);
    if (res == -1) return 0;
    if (res == 1)
      ra = m;
    else
      la = m;
  }
  double lb = cy, rb = 1145140.0;
  for (int i = 0; i < 66; i++) {
    double m = (lb + rb) * 0.5;
    int res = ask(cx, m);
    if (res == -1) return 0;
    if (res == 1)
      lb = m;
    else
      rb = m;
  }
  double ey = (la + lb) * 0.5;
  double dx = sqrt(100000.0 * 100000.0 - (lb - la) * (lb - la) * 0.25);
  int res = ask((int)(cx + dx + 0.5), (int)(ey + 0.5));
  if (res != -1) ask((int)(cx - dx + 0.5), (int)(ey + 0.5));
  return 0;
}
