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

{ constraints }
const
    MAXK = 100;

{ input data }
var
    K, i  : longint;
    V     : array[0..MAXK-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(K);
    for i:=0 to K-1 do
        read(V[i]);
    readln();

    { insert your code here }

    writeln(42); { print result }
end.
