#include <bits/stdc++.h>
using namespace std;
const int inf = 0x3fffffff;
const int maxn = 105;
int n;
string str;
char a[maxn] = "lala.";
char b[maxn] = "miao.";
int main() {
  scanf("%d", &n);
  getchar();
  while (n--) {
    getline(cin, str);
    int ans = -1;
    int m = str.size();
    bool sign1 = 1, sign2 = 1;
    if (m >= 5) {
      for (int i = 0; i < 5; i++)
        if (str[i] != b[i]) {
          sign1 = 0;
          break;
        }
      for (int i = m - 1; i >= m - 5; i--)
        if (str[i] != a[i - m + 5]) {
          sign2 = 0;
          break;
        }
    }
    if ((sign1 && sign2) || (!sign1 && !sign2))
      printf("OMG>.< I don't know!\n");
    else {
      if (sign1)
        printf("Rainbow's\n");
      else
        printf("Freda's\n");
    }
  }
  return 0;
}
