#include <bits/stdc++.h>
using namespace std;
const int inf = 2000000000;
const int MOD = 100000000;
long long n, m, k = 0, q, c;
int main() {
  cin >> q;
  string s;
  getline(cin, s);
  while (q--) {
    getline(cin, s);
    bool f1 = (s.substr(0, 5) == "miao.");
    bool f2 = (string(s.rbegin(), s.rend()).substr(0, 5) == ".alal");
    if (f1 && !f2)
      puts("Rainbow's");
    else if (!f1 && f2)
      puts("Freda's");
    else
      puts("OMG>.< I don't know!");
  }
  return 0;
}
