#include <bits/stdc++.h>
using namespace std;
void lol() {
  string s;
  getline(cin, s);
  int p = 0;
  int q = 0;
  string s1 = s;
  reverse(s1.begin(), s1.end());
  if (s.find("miao.") == 0) {
    p++;
  }
  if (s1.find(".alal") == 0) {
    q++;
  }
  if ((p + q) % 2 == 0) {
    cout << "OMG>.< I don't know!\n";
  } else {
    if (p == 1) {
      cout << "Rainbow's\n";
    } else {
      cout << "Freda's\n";
    }
  }
}
int main() {
  string s;
  getline(cin, s);
  int n = 0;
  if (s == "1") {
    n = 1;
  }
  if (s == "2") {
    n = 2;
  }
  if (s == "3") {
    n = 3;
  }
  if (s == "4") {
    n = 4;
  }
  if (s == "5") {
    n = 5;
  }
  if (s == "6") {
    n = 6;
  }
  if (s == "7") {
    n = 7;
  }
  if (s == "8") {
    n = 8;
  }
  if (s == "9") {
    n = 9;
  }
  if (s == "10") {
    n = 10;
  }
  while (n--) {
    lol();
  }
}
