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