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