#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, i, len;
  char str[1000];
  scanf("%d", &n);
  gets(str);
  for (i = 0; i < n; i++) {
    gets(str);
    len = strlen(str);
    if (len < 5)
      printf("OMG>.< I don't know!\n");
    else {
      if (str[0] == 'm' && str[1] == 'i' && str[2] == 'a' && str[3] == 'o' &&
          str[4] == '.' && str[len - 5] == 'l' && str[len - 4] == 'a' &&
          str[len - 3] == 'l' && str[len - 2] == 'a' && str[len - 1] == '.') {
        printf("OMG>.< I don't know!\n");
      } else if (str[len - 5] == 'l' && str[len - 4] == 'a' &&
                 str[len - 3] == 'l' && str[len - 2] == 'a' &&
                 str[len - 1] == '.') {
        printf("Freda's\n");
      } else if (str[0] == 'm' && str[1] == 'i' && str[2] == 'a' &&
                 str[3] == 'o' && str[4] == '.') {
        printf("Rainbow's\n");
      } else
        printf("OMG>.< I don't know!\n");
    }
  }
}
