#include using namespace std; const string goal = "Merry Christmas!"; int main(){ string s; while(getline(cin, s)){ if(s == goal){ break; } int n = atoi(s.c_str()); if(n == 0){ cout << "L" << endl; continue; } cout << "R" << endl; int m; cin >> m; if(m > 0){ cout << "F" << endl; } else { cout << "L" << endl; cin >> m; cout << "F" << endl; } } return 0; }