#include <bits/stdc++.h>
using namespace std;
char s[1000010];
bool check(int i, string c) {
  for (int j = 0; j < c.length(); j++)
    if (s[i + j] != c[j]) return false;
  return true;
}
int main() {
  char ss[15];
  gets(ss);
  int n = ss[0] - '0';
  if (ss[1] != '\0') n = n * 10 + ss[1] - '0';
  while (n--) {
    gets(s);
    int len = strlen(s);
    if (len < 5) {
      puts("OMG>.< I don't know!");
      continue;
    }
    bool freda = false;
    if (check(len - 5, "lala.")) freda = true;
    bool mrs = false;
    if (check(0, "miao.")) mrs = true;
    if (mrs ^ freda == false)
      puts("OMG>.< I don't know!");
    else if (freda)
      puts("Freda's");
    else
      puts("Rainbow's");
  }
  return 0;
}
