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