#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  getchar();
  while (n--) {
    char line[100];
    gets(line);
    if (strncmp(line, "miao.", 5) == 0 &&
        strncmp(line + strlen(line) - 5, "lala.", 5) == 0)
      cout << "OMG>.< I don't know!" << endl;
    else if (strncmp(line, "miao.", 5) == 0)
      cout << "Rainbow's" << endl;
    else if (strncmp(line + strlen(line) - 5, "lala.", 5) == 0)
      cout << "Freda's" << endl;
    else
      cout << "OMG>.< I don't know!" << endl;
  }
  return 0;
}
