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