#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a, b, p;
  string s, x, y;
  cin >> n;
  cin.ignore();
  while (n--) {
    getline(cin, s);
    a = 0;
    b = 0;
    p = s.length();
    if (s[0] == 'm' && s[1] == 'i' && s[2] == 'a' && s[3] == 'o' &&
        s[4] == '.') {
      a = 1;
    }
    if (s[p - 1] == '.' && s[p - 2] == 'a' && s[p - 3] == 'l' &&
        s[p - 4] == 'a' && s[p - 5] == 'l') {
      b = 1;
    }
    if (a == 1 && b == 1) {
      cout << "OMG>.< I don't know!" << endl;
      continue;
    }
    if (a == 1) {
      cout << "Rainbow's" << endl;
      continue;
    }
    if (b == 1) {
      cout << "Freda's" << endl;
      continue;
    }
    cout << "OMG>.< I don't know!" << endl;
  }
  return 0;
}
