#include <bits/stdc++.h>
using namespace std;
const long double pi = 3.1415926535897;
long long exp(long long base, long long power, int p) {
  if (!base) return 0;
  long long t = exp(base, power / 2, p);
  if (power & 1)
    return t * t * base % p;
  else
    return t * t % p;
}
string a = "miao.", b = "lala.";
void solve() {
  string s;
  getline(cin, s);
  if (s.length() < 5) {
    cout << "OMG>.< I don't know!";
    return;
  }
  if (s.substr(0, 5) == a and s.substr(s.length() - 5) != b)
    cout << "Rainbow's";
  else if (s.substr(s.length() - 5) == b and s.substr(0, 5) != a)
    cout << "Freda's";
  else
    cout << "OMG>.< I don't know!";
}
signed main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int t = 1;
  cin >> t;
  string s;
  cin.ignore();
  while (t--) {
    solve();
    cout << "\n";
  }
  return 0;
}
