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