#include <bits/stdc++.h>
using namespace std;
int n, i, j;
vector<string> koutsompolio;
int main() {
  cin >> n;
  string lol;
  bool r, f;
  for (i = 0; i <= n; i++) {
    getline(cin, lol);
    koutsompolio.push_back(lol);
  }
  for (i = 1; i <= n; i++) {
    r = false;
    f = false;
    if ((koutsompolio[i][0] == 'm') && (koutsompolio[i][1] == 'i') &&
        ((koutsompolio[i][2] == 'a')) && (koutsompolio[i][3] == 'o') &&
        (koutsompolio[i][4] == '.')) {
      r = true;
    }
    if ((koutsompolio[i][koutsompolio[i].size() - 1] == '.') &&
        (koutsompolio[i][koutsompolio[i].size() - 2] == 'a') &&
        ((koutsompolio[i][koutsompolio[i].size() - 3] == 'l')) &&
        (koutsompolio[i][koutsompolio[i].size() - 4] == 'a') &&
        (koutsompolio[i][koutsompolio[i].size() - 5] == 'l')) {
      f = true;
    }
    if ((f == false) && (r == true)) {
      cout << "Rainbow's\n";
    } else if ((f == true) && (r == false)) {
      cout << "Freda's\n";
    } else {
      cout << "OMG>.< I don't know!\n";
    }
  }
}
