#include <bits/stdc++.h>
using namespace std;
void whose_sentence(string s) {
  if (s.length() < 5) {
    cout << "OMG>.< I don't know!" << endl;
    return;
  }
  if ((strncmp(s.c_str(), "miao.", 5) == 0) &&
      (strncmp(s.c_str() + s.length() - 5, "lala.", 5) == 0)) {
    cout << "OMG>.< I don't know!" << endl;
    return;
  }
  if (strncmp(s.c_str(), "miao.", 5) == 0) {
    cout << "Rainbow's" << endl;
    return;
  }
  if (strncmp(s.c_str() + s.length() - 5, "lala.", 5) == 0) {
    cout << "Freda's" << endl;
    return;
  }
  cout << "OMG>.< I don't know!" << endl;
}
int main(void) {
  int n, i;
  string s;
  cin >> n;
  getline(std::cin, s);
  for (i = 0; i < n; i++) {
    getline(std::cin, s);
    whose_sentence(s);
  }
  return 0;
}
