#include <bits/stdc++.h>
const int maxn = 1000;
char str[maxn];
int main() {
  int n;
  char p[] = "lala.";
  char q[] = "miao.";
  bool pp, qq;
  while (scanf("%d", &n) != EOF) {
    int i;
    getchar();
    while (n--) {
      pp = true, qq = true;
      gets(str);
      int ln = strlen(str);
      if (ln >= 5) {
        for (i = 0; i < 5; i++) {
          if (str[i] != q[i]) {
            qq = false;
            break;
          }
        }
        int cnt = 0;
        for (i = ln - 5; i < ln; i++) {
          if (str[i] != p[cnt++]) {
            pp = false;
            break;
          }
        }
      }
      if ((qq == true && pp == true) || (qq == false && pp == false))
        puts("OMG>.< I don't know!");
      if (qq == false && pp == true) puts("Freda's");
      if (qq == true && pp == false) puts("Rainbow's");
    }
  }
  return 0;
}
