#include <iostream>
#include <fstream>
#include <cstdlib>
#include <ctime>
using namespace std;

char my_turn, their_turn;

int main() {
    their_turn = 'K';
    do {
        my_turn = their_turn;
        cout << my_turn << endl;
        cin >> their_turn;
    }
    while (their_turn != 'L');

    return 0;
}

