#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using Vi = vector<int>;
using Pii = pair<int, int>;
void run() {
  string line;
  getline(cin, line);
  bool f = 0, r = 0;
  if (int((line).size()) >= 5) {
    f = (line.substr(int((line).size()) - 5) == "lala.");
    r = (line.substr(0, 5) == "miao.");
  }
  if (f && !r) {
    cout << "Freda's\n";
  } else if (!f && r) {
    cout << "Rainbow's\n";
  } else {
    cout << "OMG>.< I don't know!\n";
  }
}
int main() {
  cin.sync_with_stdio(0);
  int n;
  cin >> n;
  string line;
  getline(cin, line);
  while (n--) run();
  return 0;
}
