#include <bits/stdc++.h>
int main() {
  int n;
  while (scanf("%d", &n) != EOF) {
    getchar();
    while (n--) {
      char a[101], b[6] = {"lala."}, c[6] = {"miao."};
      gets(a);
      int len = strlen(a);
      int j;
      bool p = 0, q = 0;
      if (strcmp("miao.lala.", a) == 0 || len < 5) {
        printf("OMG>.< I don't know!\n");
      } else {
        int k = 0;
        for (j = len - 5; j < len; j++) {
          if (b[k++] != a[j]) break;
        }
        if (j == len) {
          p = 1;
        }
        k = 0;
        for (j = 0; j < 5; j++) {
          if (c[k++] != a[j]) break;
        }
        if (j == 5) {
          q = 1;
        }
        if (p && q)
          printf("OMG>.< I don't know!\n");
        else if (p)
          printf("Freda's\n");
        else if (q)
          printf("Rainbow's\n");
        else
          printf("OMG>.< I don't know!\n");
      }
    }
  }
  return 0;
}
