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