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