#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, n;
  int k, length;
  char s[1000];
  scanf("%d", &n);
  getchar();
  for (i = 0; i < n; i++) {
    gets(s);
    k = 0;
    length = strlen(s);
    if (length > 4 && strcmp(s + length - 5, "lala.") == 0) {
      k++;
    }
    if (strstr(s, "miao.") == s) {
      k += 10;
    }
    if (k == 1) {
      printf("Freda's\n");
    } else if (k == 10) {
      printf("Rainbow's\n");
    } else {
      printf("OMG>.< I don't know!\n");
    }
  }
  return 0;
}
