#include <bits/stdc++.h>
using namespace std;
char buffer[200];
int main() {
  int n;
  string data;
  while (scanf("%d", &n) != EOF) {
    getchar();
    for (int i = 0; i < n; i++) {
      gets(buffer);
      data = string(buffer);
      int firstM = data.find("miao.");
      int lastL = data.rfind("lala.");
      if (firstM != data.npos &&
          (lastL == data.npos || lastL != data.size() - 5) && firstM == 0) {
        printf("Rainbow's\n");
      } else if ((firstM == data.npos || firstM != 0) && lastL != data.npos &&
                 lastL == data.size() - 5) {
        printf("Freda's\n");
      } else {
        printf("OMG>.< I don't know!\n");
      }
    }
  }
  return 0;
}
