#include <bits/stdc++.h>
using namespace std;
const double PI = acos(-1.0);
template <class _T>
inline string tostr(const _T& a) {
  ostringstream os("");
  os << a;
  return os.str();
}
string s;
bool temA() {
  int t = s.size() - 1;
  return (s[t - 4] == 'l' && s[t - 3] == 'a' && s[t - 2] == 'l' &&
          s[t - 1] == 'a' && s[t] == '.');
}
bool temB() {
  return (s[0] == 'm' && s[1] == 'i' && s[2] == 'a' && s[3] == 'o' &&
          s[4] == '.');
}
char lista[1000];
int main() {
  int n;
  scanf("%d", &n);
  gets(lista);
  while (n--) {
    getline(cin, s);
    if (s.size() < 5) {
      puts("OMG>.< I don't know!");
    } else if (temA() && temB()) {
      puts("OMG>.< I don't know!");
    } else if (temA()) {
      puts("Freda's");
    } else if (temB()) {
      puts("Rainbow's");
    } else {
      puts("OMG>.< I don't know!");
    }
  }
  return 0;
}
