#include <bits/stdc++.h>
double pie = 3.141592653589793;
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n;
  cin >> n;
  cin.ignore();
  while (n--) {
    string s;
    getline(cin, s);
    int l = s.size();
    if (l > 4) {
      bool rainbow = 0, freda = 0;
      if (s[0] == 'm' && s[1] == 'i' && s[2] == 'a' && s[3] == 'o' &&
          s[4] == '.')
        rainbow = 1;
      if (s[l - 1 - 4] == 'l' && s[l - 1 - 3] == 'a' && s[l - 1 - 2] == 'l' &&
          s[l - 1 - 1] == 'a' && s[l - 1 - 0] == '.')
        freda = 1;
      if (freda && rainbow)
        cout << "OMG>.< I don't know!\n";
      else if (freda)
        cout << "Freda's\n";
      else if (rainbow)
        cout << "Rainbow's\n";
      else
        cout << "OMG>.< I don't know!\n";
    } else
      cout << "OMG>.< I don't know!\n";
  }
  return 0;
}
