#include <bits/stdc++.h>
using namespace std;
const long long N = 210;
const char *ans[] = {"OMG>.< I don't know!", "Freda's", "Rainbow's"};
long long n, len;
char s[N];
signed main() {
  scanf("%lld", &n), gets(s);
  while (n--) {
    gets(s), len = strlen(s);
    if (s[len - 1] == '\n') s[--len] = 0;
    puts(
        ans[(!strncmp(s, "miao.", 5) << 1 | !strncmp(s + len - 5, "lala.", 5)) %
            3]);
  }
  return 0;
}
