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