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