Problem: One day, liouzhou_101 got a chat record of Freda and Rainbow. Out of curiosity, he wanted to know which sentences were said by Freda, and which were said by Rainbow. According to his experience, he thought that Freda always said "lala." at the end of her sentences, while Rainbow always said "miao." at the beginning of his sentences. For each sentence in the chat record, help liouzhou_101 find whose sentence it is. 

Input

The first line of the input contains an integer n (1 ≤ n ≤ 10), number of sentences in the chat record. Each of the next n lines contains a sentence. A sentence is a string that contains only Latin letters (A-Z, a-z), underline (_), comma (,), point (.) and space ( ). Its length doesn’t exceed 100.

Output

For each sentence, output "Freda's" if the sentence was said by Freda, "Rainbow's" if the sentence was said by Rainbow, or "OMG>.< I don't know!" if liouzhou_101 can’t recognize whose sentence it is. He can’t recognize a sentence if it begins with "miao." and ends with "lala.", or satisfies neither of the conditions. 

Examples

Input

5
I will go to play with you lala.
wow, welcome.
miao.lala.
miao.
miao .


Output

Freda's
OMG&gt;.&lt; I don't know!
OMG&gt;.&lt; I don't know!
Rainbow's
OMG&gt;.&lt; I don't know!

Solution (in JAVA):

Solution:
import java.io.*;
import java.math.*;

public class Main
{
    static Input in;
    static Output out;
    static final boolean OJ = System.getProperty("ONLINE_JUDGE") != null;

    public static void main(String[] args) throws IOException
    {
        in = new Input(OJ ? System.in : new FileInputStream("in.txt"));
        out = new Output(OJ ? System.out : new FileOutputStream("out.txt"));
        solve();
        out.close();
        System.exit(0);
    }

    private static void solve() throws IOException
    {
        int n = in.nextInt();
        for (int i = 0; i < n; i++)
        {
            String line = in.nextLine();
            if (line.startsWith("miao.") && line.endsWith("lala."))
                out.println("OMG>.< I don't know!");
            else if (line.startsWith("miao."))
                out.println("Rainbow's");
            else if (line.endsWith("lala."))
                out.println("Freda's");
            else out.println("OMG>.< I don't know!");
        }
    }
}

class Input
{
    final int SIZE = 8192; //4096; 8192; 65536;
    InputStream in;
    byte[] buf = new byte[SIZE];
    int last, current, total;

    public Input(InputStream stream) throws IOException
    {
        in = stream; last = read();
    }

    int read() throws IOException
    {
        if (total == -1) return -1;
        if (current >= total)
        {
            current = 0; total = in.read(buf);
            if (total <= 0) return -1;
        }
        return buf[current++];
    }

    void advance() throws IOException
    {
        while (true)
        {
            if (last == -1) return;
            if (!isValidChar(last)) last = read();
            else break;
        }
    }

    boolean isValidChar(int c) { return c > 32 && c < 127; }

    public boolean endOfFile() throws IOException { advance(); return last == -1; }

    public String nextString() throws IOException
    {
        advance();
        if (last == -1) throw new EOFException();
        StringBuilder s = new StringBuilder();
        while (true)
        {
            s.appendCodePoint(last); last = read();
            if (!isValidChar(last)) break;
        }
        return s.toString();
    }

    public String nextLine() throws IOException
    {
        if (last == -1) throw new EOFException();
        StringBuilder s = new StringBuilder();
        while (last != '\n') last = read(); // go to end of current line
        last = read(); // go to next line
        while (true)
        {
            s.appendCodePoint(last); last = read();
            if (last == '\n' || last == '\r' || last == -1) break;
        }
        return s.toString();
    }

    public String nextLine(boolean ignoreIfEmpty) throws IOException
    {
        if (!ignoreIfEmpty) return nextLine();
        String s = nextLine();
        while (s.trim().length() == 0) s = nextLine();
        return s;
    }

    public int nextInt() throws IOException
    {
        advance();
        if (last == -1) throw new EOFException();
        int n = 0, s = 1;
        if (last == '-')
        {
            s = -1; last = read();
            if (last == -1) throw new EOFException();
        }
        while (true)
        {
            n = n * 10 + last - '0'; last = read();
            if (!isValidChar(last)) break;
        }
        return n * s;
    }

    public long nextLong() throws IOException
    {
        advance();
        if (last == -1) throw new EOFException();
        int s = 1;
        if (last == '-')
        {
            s = -1; last = read();
            if (last == -1) throw new EOFException();
        }
        long n = 0;
        while (true)
        {
            n = n * 10 + last - '0'; last = read();
            if (!isValidChar(last)) break;
        }
        return n * s;
    }

    public BigInteger nextBigInt() throws IOException { return new BigInteger(nextString()); }

    public char nextChar() throws IOException { advance(); return (char) last; }

    public double nextDouble() throws IOException
    {
        advance();
        if (last == -1) throw new EOFException();
        int s = 1;
        if (last == '-')
        {
            s = -1; last = read();
            if (last == -1) throw new EOFException();
        }
        double n = 0;
        while (true)
        {
            n = n * 10 + last - '0'; last = read();
            if (!isValidChar(last) || last == '.') break;
        }
        if (last == '.')
        {
            last = read();
            if (last == -1) throw new EOFException();
            double m = 1;
            while (true)
            {
                m = m / 10;
                n = n + (last - '0') * m; last = read();
                if (!isValidChar(last)) break;
            }
        }
        return n * s;
    }

    public BigDecimal nextBigDecimal() throws IOException { return new BigDecimal(nextString()); }

    public int[] nextIntArray(int len) throws IOException
    {
        int[] A = new int[len];
        for (int i = 0; i < len; i++) A[i] = nextInt();
        return A;
    }

    public long[] nextLongArray(int len) throws IOException
    {
        long[] A = new long[len];
        for (int i = 0; i < len; i++) A[i] = nextLong();
        return A;
    }

    public int[][] nextIntTable(int rows, int cols) throws IOException
    {
        int[][] T = new int[rows][];
        for (int i = 0; i < rows; i++) T[i] = nextIntArray(cols);
        return T;
    }
}

class Output
{
    final int SIZE = 4096; // 4096; 8192
    Writer out;
    char[] cb = new char[SIZE];
    int nChars = SIZE, nextChar = 0;
    char lineSeparator = '\n';

    public Output(OutputStream stream) { out = new OutputStreamWriter(stream); }

    void flushBuffer() throws IOException
    {
        if (nextChar == 0) return;
        out.write(cb, 0, nextChar);
        nextChar = 0;
    }

    void write(int c) throws IOException
    {
        if (nextChar >= nChars) flushBuffer();
        cb[nextChar++] = (char) c;
    }

    void write(String s, int off, int len) throws IOException
    {
        int b = off, t = off + len;
        while (b < t)
        {
            int a = nChars - nextChar, a1 = t - b;
            int d = a < a1 ? a : a1;
            s.getChars(b, b + d, cb, nextChar);
            b += d;
            nextChar += d;
            if (nextChar >= nChars) flushBuffer();
        }
    }

    void write(String s) throws IOException { write(s, 0, s.length()); }

    public void print(Object obj) throws IOException { write(String.valueOf(obj)); }

    public void println(Object obj) throws IOException
    {
        write(String.valueOf(obj));
        write(lineSeparator);
    }

    public void printf(String format, Object... obj) throws IOException { write(String.format(format, obj)); }

    public void printElements(Object... obj) throws IOException
    {
        for (int i = 0; i < obj.length; i++)
        {
            if (i > 0) print(" ");
            print(obj[i]);
        }
        print(lineSeparator);
    }

    public void close() throws IOException
    {
        flushBuffer();
        out.close();
    }
}