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