#include <bits/stdc++.h>
using namespace std;
char str[102];
char miao[] = "miao.";
char lala[] = "lala.";
int check(char* a) {
  int res = 0;
  int k = strlen(a);
  if (k < 5) return 0;
  if (strncmp(a, miao, 5) == 0) res += 2;
  if (strncmp(a + k - 5, lala, 5) == 0) res += 1;
  return res;
}
int main() {
  int n, i, res;
  cin >> n;
  cin.getline(str, 101);
  for (i = 0; i < n; i++) {
    cin.getline(str, 101);
    res = check(str);
    if (res == 1)
      cout << "Freda's\n";
    else if (res == 2)
      cout << "Rainbow's\n";
    else
      cout << "OMG>.< I don't know!\n";
  }
  return 0;
}
