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