#include <bits/stdc++.h>
int main() {
  char res[3][102] = {"Freda's", "Rainbow's", "OMG>.< I don't know!"};
  char a[102];
  int sum, r, f, n, i, x;
  while (scanf("%d", &n) != EOF) {
    getchar();
    for (i = 0; i < n; i++) {
      sum = 0;
      f = 0;
      r = 0;
      gets(a);
      x = strlen(a);
      if (a[0] == 'm' && a[1] == 'i' && a[2] == 'a' && a[3] == 'o' &&
          a[4] == '.') {
        sum++;
        f++;
      }
      if (a[x - 5] == 'l' && a[x - 4] == 'a' && a[x - 3] == 'l' &&
          a[x - 2] == 'a' && a[x - 1] == '.') {
        sum++;
        r++;
      }
      if (sum == 1) {
        if (f != 0) {
          printf("%s\n", res[1]);
        }
        if (r != 0) {
          printf("%s\n", res[0]);
        }
      } else {
        printf("%s\n", res[2]);
      }
    }
  }
}
