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