#include <bits/stdc++.h>
using namespace std;
char a[105];
char temp[105];
int main() {
  int n;
  scanf("%d%*c", &n);
  while (n--) {
    int cnt = 0;
    bool flag = false;
    bool first = false;
    gets(a);
    int len = strlen(a);
    for (int i = len - 5; i <= len; i++) temp[cnt++] = a[i];
    if (strncmp(a, "miao.", 5) == 0) first = true;
    if (strcmp(temp, "lala.") == 0) flag = true;
    if (first && !flag)
      printf("Rainbow's\n");
    else if (!first && flag)
      printf("Freda's\n");
    else
      printf("OMG>.< I don't know!\n");
  }
  return 0;
}
