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