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

const
    MAXM = 200000;

var
    M, N, i : LongInt;
    U, V, W : Array[0..MAXM-1] of LongInt;
    K       : Int64;

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, M);

    for i:=0 to M-1 do
        ReadLn(U[i], V[i], W[i]);

    K := 0;

    { INSERT YOUR CODE HERE }


    WriteLn('Alice');
    WriteLn(K);

end.
