#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  string foo;
  getline(cin, foo);
  for (int i = 0; i < n; i++) {
    string s;
    getline(cin, s);
    string st = s.substr(0, min(5, (int)s.length())),
           b = s.substr(max((int)s.length() - 5, 0), 5);
    cerr << st << " " << b << "\n";
    if (st == "miao." && b == "lala.")
      cout << "OMG>.< I don't know!";
    else if (st == "miao.")
      cout << "Rainbow's";
    else if (b == "lala.")
      cout << "Freda's";
    else
      cout << "OMG>.< I don't know!";
    cout << "\n";
  }
  return 0;
}
