#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  string tmp;
  getline(cin, tmp);
  while (t--) {
    string s;
    getline(cin, s);
    int i, l;
    l = s.size();
    string x(s.begin(), s.begin() + 5);
    string y(s.end() - 5, s.end());
    bool x_, y_;
    x_ = (x == "miao.");
    y_ = (y == "lala.");
    if (l < 5)
      cout << "OMG>.< I don't know!\n";
    else if (x_ && y_)
      cout << "OMG>.< I don't know!\n";
    else if (x_)
      cout << "Rainbow's\n";
    else if (y_)
      cout << "Freda's\n";
    else
      cout << "OMG>.< I don't know!\n";
  }
}
