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