#include <bits/stdc++.h>
using namespace std;
const int MX = 1000001;
const int MI = 100001;
const int MT = 10001;
void solve() {
  string a, b, c;
  int n;
  cin >> n;
  char x;
  x = getchar();
  for (int i = 0; i < n; i++) {
    getline(cin, a);
    b += a[0];
    b += a[1];
    b += a[2];
    b += a[3];
    b += a[4];
    int l = a.length();
    l--;
    c += a[l];
    l--;
    c += a[l];
    l--;
    c += a[l];
    l--;
    c += a[l];
    l--;
    c += a[l];
    l--;
    int ans = 0;
    if (b == "miao." && c == ".alal") {
      cout << "OMG>.< I don't know!" << endl;
      b.clear();
      c.clear();
      continue;
    }
    if (b == "miao.") {
      cout << "Rainbow's" << endl;
      ans = 1;
    }
    if (c == ".alal") {
      cout << "Freda's" << endl;
      ans = 1;
    }
    if (ans == 0) {
      cout << "OMG>.< I don't know!" << endl;
    }
    b.clear();
    c.clear();
  }
}
int main() {
  solve();
  return 0;
}
