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