#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  char arr[105];
  scanf("%d%*c", &t);
  while (t--) {
    gets(arr);
    int len = strlen(arr);
    char temp[20] = {arr[len - 5], arr[len - 4], arr[len - 3], arr[len - 2],
                     arr[len - 1]};
    char tem[20] = {arr[0], arr[1], arr[2], arr[3], arr[4]};
    if (strcmp(temp, "lala.") == 0 && strcmp(tem, "miao.") == 0)
      printf("OMG>.< I don't know!\n");
    else if (strcmp(temp, "lala.") == 0)
      printf("Freda's\n");
    else if (strcmp(tem, "miao.") == 0)
      printf("Rainbow's\n");
    else
      printf("OMG>.< I don't know!\n");
  }
  return 0;
}
