#include <iostream>
#include <stdio.h>
#include <stdlib.h>

using namespace std;
int main(void){
    // Here your code !
    ios::sync_with_stdio(false);
    string str;
    while(!cin.eof()){
        getline(cin, str);
        // cout << "str=" << str << "..." << endl;
        if(str=="Merry Christmas!"){
            exit(0);
        }
        int i = atoi(str.c_str());
        int r = rand()%100;
        if(i!=0){
            if(r<25){
                cout << "L" << endl << flush;
                continue;
            }else if(r<50){
                cout << "R" << endl << flush;
                continue;
            }
        }
        cout << "F" << endl << flush;
    }
}