#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  string d, s;
  cin >> t;
  getline(cin, s);
  while (t--) {
    string a = "", b = "";
    getline(cin, s);
    a.assign(s.begin(), s.begin() + 5);
    b.assign(s.end() - 5, s.end());
    if ((a == "miao." && b == "lala.") || (a != "miao." && b != "lala.")) {
      cout << "OMG>.< I don't know!" << endl;
      continue;
    }
    if (a == "miao.")
      cout << "Rainbow's" << endl;
    else if (b == "lala.")
      cout << "Freda's" << endl;
  }
  return 0;
}
