{ constraints }
const
    MAXN = 100000;
    MAXM = 100000;

{ input data }
var
    N, M, i  : longint;
    H, T     : array[0..MAXN-1] of longint;

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

    readln(N, M);
    for i:=0 to N-1 do read(H[i]);
    readln;
    for i:=0 to N-1 do read(T[i]);
    readln;

    { insert your code here }

    writeln(42);  { change 42 with actual answer }
    for i:=0 to N-1 do write(42, ' ');  { change 42 with actual answer }
    writeln;
end.
