#include <bits/stdc++.h>
using namespace std;
int isP(long int hj) {
  long int op;
  for (op = 2; op <= sqrt(hj); op++) {
    if (hj % op == 0) return 0;
  }
  return 1;
}
void swap(long long int *p, long long int *q) {
  long long int tmp = *p;
  *p = *q;
  *q = tmp;
}
void tog(int *p) {
  if (*p == 1)
    *p = 0;
  else
    *p = 1;
}
string fdi(int hi) {
  switch (hi) {
    case 0:
      return "zero";
    case 1:
      return "one";
    case 2:
      return "two";
    case 3:
      return "three";
    case 4:
      return "four";
    case 5:
      return "five";
    case 6:
      return "six";
    case 7:
      return "seven";
    case 8:
      return "eight";
    case 9:
      return "nine";
  }
}
string rdx(int hi) {
  switch (hi) {
    case 2:
      return "twenty";
    case 3:
      return "thirty";
    case 4:
      return "forty";
    case 5:
      return "fifty";
    case 6:
      return "sixty";
    case 7:
      return "seventy";
    case 8:
      return "eighty";
    case 9:
      return "ninety";
  }
}
long long int bd(long long int mk) {
  long long int hb;
  for (hb = (mk / 2); hb >= 1; hb--) {
    if (mk % hb == 0) return hb;
  }
}
int dsm(long long int pkk) {
  if (pkk < 0) pkk *= -1;
  while (pkk > 0) {
    if (pkk % 10 == 8) return 1;
    pkk /= 10;
  }
  return 0;
}
int main() {
  long long int m1, m2, prev, prc, cost, ind, ans, g, p, max, inc, cap, sm, d,
      nxt, mn, t, up, a, b, lc, la, c, e, preI, t1, t2, brk, clbp, clb, et, jmp,
      u, l1, l2, sq, nd, maxi, li, ri, tr, mp, og, lt1, lt2, n1, n2, c1, c2,
      minI, min1, dp, p2, p3, ze, fst, lst, min2, s, sm1, sm2, sm3, sr, sl, l,
      ln, rz, rn, car, eq, r, shr, ng, v, curr, spl, fl, z, ev, od, m, ct, j, q,
      k, maxI, max1, max2, lt, md, f, n, xP, xN, w, h, d2, d1, u1, u2, i, x, y;
  cin >> n;
  for (i = 1; i <= n; i++) {
    string st;
    if (i == 1) cin.ignore();
    getline(cin, st);
    lt = st.size();
    if (lt < 5)
      cout << "OMG>.< I don't know!\n";
    else {
      string s1, s2;
      s1 = "";
      s2 = "";
      for (j = 0; j < 5; j++) s1 += st[j];
      for (j = lt - 5; j < lt; j++) s2 += st[j];
      if ((s1 == "miao.") && (s2 == "lala."))
        cout << "OMG>.< I don't know!\n";
      else if (s1 == "miao.")
        cout << "Rainbow's\n";
      else if (s2 == "lala.")
        cout << "Freda's\n";
      else
        cout << "OMG>.< I don't know!\n";
    }
  }
  return 0;
}
