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