Problem: One day, liouzhou_101 got a chat record of Freda and Rainbow. Out of curiosity, he wanted to know which sentences were said by Freda, and which were said by Rainbow. According to his experience, he thought that Freda always said "lala." at the end of her sentences, while Rainbow always said "miao." at the beginning of his sentences. For each sentence in the chat record, help liouzhou_101 find whose sentence it is. 

Input

The first line of the input contains an integer n (1 ≤ n ≤ 10), number of sentences in the chat record. Each of the next n lines contains a sentence. A sentence is a string that contains only Latin letters (A-Z, a-z), underline (_), comma (,), point (.) and space ( ). Its length doesn’t exceed 100.

Output

For each sentence, output "Freda's" if the sentence was said by Freda, "Rainbow's" if the sentence was said by Rainbow, or "OMG>.< I don't know!" if liouzhou_101 can’t recognize whose sentence it is. He can’t recognize a sentence if it begins with "miao." and ends with "lala.", or satisfies neither of the conditions. 

Examples

Input

5
I will go to play with you lala.
wow, welcome.
miao.lala.
miao.
miao .


Output

Freda's
OMG&gt;.&lt; I don't know!
OMG&gt;.&lt; I don't know!
Rainbow's
OMG&gt;.&lt; I don't know!

Solution (in CPP):

Solution:
#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;
}