#include <bits/stdc++.h>
using namespace std;
const int N = 100010;
const long long inf = 0x3f3f3f3f3f3f3f3fll;
int main() {
  int n;
  cin >> n;
  string str;
  getline(cin, str);
  for (int i = 0; i < n; i++) {
    getline(cin, str);
    int ret = 0;
    if (str.rfind("lala.") == str.size() - 5) ret += 1;
    if (str.find("miao.") == 0) ret += 2;
    if (ret == 0 || ret == 3)
      cout << "OMG>.< I don't know!\n";
    else if (ret == 1)
      cout << "Freda's\n";
    else if (ret == 2)
      cout << "Rainbow's\n";
  }
  return 0;
}
