#include <bits/stdc++.h>
using namespace std;
char s[1000];
int main() {
  int n;
  cin >> n;
  gets(s);
  for (int i = 0; i < n; i++) {
    gets(s);
    int k = strlen(s);
    bool f = 0, r = 0;
    if (k >= 5) {
      f = s[k - 5] == 'l' && s[k - 4] == 'a' && s[k - 3] == 'l' &&
          s[k - 2] == 'a' && s[k - 1] == '.';
      r = s[0] == 'm' && s[1] == 'i' && s[2] == 'a' && s[3] == 'o' &&
          s[4] == '.';
    }
    if ((r && f) || (r == 0 && f == 0))
      cout << "OMG>.< I don't know!\n";
    else if (f)
      cout << "Freda's\n";
    else
      cout << "Rainbow's\n";
  }
  return 0;
}
