#include <bits/stdc++.h>
using namespace std;
const int MAXN = 3 * 1000 + 17;
int n;
string tmp;
int main() {
  ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);
  getline(cin, tmp);
  n = stoi(tmp);
  for (int i = 1; i <= n; i++) {
    string s, t;
    getline(cin, s);
    t = s;
    reverse(t.begin(), t.end());
    if (s.size() < 5) {
      cout << "OMG>.< I don't know!\n";
      continue;
    }
    bool f1 = false, f2 = false;
    if (t.substr(0, 5) == ".alal") f1 = true;
    if (s.substr(0, 5) == "miao.") f2 = true;
    if (f1 && !f2)
      cout << "Freda's\n";
    else if (!f1 && f2)
      cout << "Rainbow's\n";
    else
      cout << "OMG>.< I don't know!\n";
  }
  return 0;
}
