#define _USE_MATH_DEFINES #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; typedef unsigned long long ull; typedef pair i_i; typedef pair ll_i; typedef pair d_i; typedef pair ll_ll; typedef pair d_d; struct edge { int u, v; ll w; }; ll MOD = 1000000007; ll _MOD = 1000000009; double EPS = 1e-10; int f(int x) { int cnt = 0; for (; x; x>>=1) cnt += x&1; return cnt; } int main() { random_device rd; mt19937 mt(rd()); for (int t = 0; t < 20000; t++) { cout << "FFLR"[mt() % 4] << endl; string s; cin >> s; if (s == "Merry") return 0; } for (int x = 0; ; x++) { cout << "FFL"[f(x) % 3] << endl; string s; cin >> s; if (s == "Merry") return 0; } }