#include <bits/stdc++.h>
using namespace std;
int main(int argc, const char* argv[]) {
  int n;
  cin >> n;
  cin.ignore();
  string chat;
  for (int i = 0; i < n; i++) {
    bool fFound = false;
    bool rFound = false;
    getline(cin, chat);
    if (chat.size() > 5) {
      if (chat.find("lala.", chat.size() - 6) == chat.size() - 5) {
        fFound = true;
      }
    } else {
      if (chat.find("lala.") != -1) {
        fFound = true;
      }
    }
    if (chat.find("miao.") == 0) {
      rFound = true;
    }
    if ((fFound == true && rFound == true) ||
        (fFound == false && rFound == false)) {
      cout << "OMG>.< I don't know!\n";
    } else if (fFound == true && rFound == false) {
      cout << "Freda's\n";
    } else if (rFound == true && fFound == false) {
      cout << "Rainbow's\n";
    }
  }
  return 0;
}
