#include <bits/stdc++.h>
using namespace std;
int t;
string s;
string s1 = "lala.";
string s2 = "miao.";
int judge() {
  if (s.length() < 5) return 3;
  int ans = 0;
  if (s.substr(0, 5) == s2) ans += 1;
  if (s.substr(s.length() - 5, 5) == s1) ans += 2;
  return ans;
}
int main() {
  cin >> t;
  getline(cin, s);
  while (t--) {
    getline(cin, s);
    int ans = judge();
    if (ans == 1)
      printf("Rainbow's\n");
    else if (ans == 2)
      printf("Freda's\n");
    else
      printf("OMG>.< I don't know!\n");
  }
}
