#include <bits/stdc++.h>
using namespace std;
int main() {
  int sen;
  string line;
  bool Freda, Rainbow;
  while (cin >> sen) {
    cin.ignore();
    for (int i = 0; i < sen; i++) {
      Freda = Rainbow = false;
      getline(cin, line);
      if (line.size() >= 4 && line.substr(0, 5) == "miao.") Rainbow = true;
      if (line.size() >= 5 && line.substr(line.size() - 5, 5) == "lala.")
        Freda = true;
      if (Freda && !Rainbow)
        cout << "Freda's" << endl;
      else if (Rainbow && !Freda)
        cout << "Rainbow's" << endl;
      else
        cout << "OMG>.< I don't know!" << endl;
      ;
    }
  }
  return 0;
}
