{ NOTE: it is recommended to use this even if you don't understand the following code }

var
    hi, lo, pos         : LongInt;
    ans, pressedButtons : AnsiString;

begin
{
    uncomment the two following lines if you want to read/write from files
    assign(input,  'input.txt');  reset(input);
    assign(output, 'output.txt'); rewrite(output);
}

    ReadLn(lo, hi, pos);

    ReadLn(pressedButtons);

    ans := '';

    { INSERT YOUR CODE HERE }


    WriteLn(ans);

end.
