#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, i, ni;
  string s, a = ".alal", b = "miao.";
  scanf("%d", &n);
  getchar();
  for (ni = 0; ni < n; ni++) {
    bool fre = 1, rai = 1;
    getline(cin, s);
    if (s.length() < 5) {
      cout << "OMG>.< I don't know!\n";
      continue;
    }
    for (i = 0; i < 5; i++) {
      rai &= (s[i] == b[i]);
      fre &= (s[s.length() - i - 1] == a[i]);
    }
    if (fre && !rai)
      cout << "Freda's\n";
    else if (!fre && rai)
      cout << "Rainbow's\n";
    else
      cout << "OMG>.< I don't know!\n";
  }
  return 0;
}
