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