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