#include <bits/stdc++.h>
int miao(char *a) {
  if (a[0] == 'm' && a[1] == 'i' && a[2] == 'a' && a[3] == 'o' && a[4] == '.')
    return 1;
  return 2;
}
int lala(char *a) {
  while (isupper(*a) || islower(*a) || (*a == ' ') || (*a == ',') ||
         (*a == '.') || (*a == '_')) {
    a++;
  }
  if (*(a - 5) == 'l' && *(a - 4) == 'a' && *(a - 3) == 'l' &&
      *(a - 2) == 'a' && *(a - 1) == '.')
    return 1;
  return 2;
}
int main() {
  int i;
  char s[1000];
  int n;
  scanf("%d", &n);
  int m, l;
  char dizi[n];
  gets(s);
  for (i = 0; i < n; i++) {
    gets(s);
    m = miao(s);
    l = lala(s);
    if ((m == l == 1) || m == l == 2)
      dizi[i] = 'e';
    else if (m == 1 && l == 2)
      dizi[i] = 'm';
    else
      dizi[i] = 'l';
  }
  for (i = 0; i < n; i++) {
    switch (dizi[i]) {
      case 'e':
        printf("OMG>.< I don't know!\n");
        break;
      case 'm':
        printf("Rainbow's\n");
        break;
      case 'l':
        printf("Freda's\n");
        break;
    }
  }
}
