#include <bits/stdc++.h>
using namespace std;
long long n, l;
string s, s1, s2;
int main() {
  cin >> n;
  getline(cin, s);
  while (n--) {
    getline(cin, s);
    s1 = "";
    s2 = "";
    l = s.length();
    for (int i = 0; i <= 4; i++) s1 += s[i];
    for (int i = l - 5; i < l; i++) s2 += s[i];
    if (s1 == "miao." && s2 != "lala.")
      cout << "Rainbow's" << endl;
    else if (s1 != "miao." && s2 == "lala.")
      cout << "Freda's" << endl;
    else
      cout << "OMG>.< I don't know!" << endl;
  }
  return 0;
}
