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

{ constraints }
const
    MAXN = 100;
    MAXF = 1000;

{ input data }
var
    F, i  : longint;
    X, Y  : array[0..MAXF-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(F);
    for i:=0 to F-1 do
    begin
        read(X[i], Y[i]);
        readln();
    end;

    { insert your code here }

    writeln(42); { print result }
end.
