#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  string p;
  getline(cin, p);
  for (int k = 1; k <= n; k++) {
    string x;
    getline(cin, x);
    int t = x.find("miao.");
    if (t == 0 && x[x.size() - 1] == '.' && x[x.size() - 2] == 'a' &&
        x[x.size() - 3] == 'l' && x[x.size() - 4] == 'a' &&
        x[x.size() - 5] == 'l') {
      cout << "OMG>.< I don't know!" << endl;
      continue;
    }
    if (t == 0) {
      cout << "Rainbow's" << endl;
      continue;
    }
    if (x[x.size() - 1] == '.' && x[x.size() - 2] == 'a' &&
        x[x.size() - 3] == 'l' && x[x.size() - 4] == 'a' &&
        x[x.size() - 5] == 'l') {
      cout << "Freda's" << endl;
      continue;
    }
    cout << "OMG>.< I don't know!" << endl;
  }
  return 0;
}
