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

const
    MAXN = 3000;

var
    N, S, i : LongInt;
    H       : Array[0..MAXN-1] of LongInt;
    ans     : Array[0..MAXN-1] of 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(N, S);

    for i:=0 to N-1 do
        Read(H[i]);
    ReadLn();

    for i := 0 to MAXN-1 do ans[i] := '';

    { INSERT YOUR CODE HERE }


    for i:=0 to N-1 do
        WriteLn(ans[i]);

end.
