{ input data }
var
    numT, t, A, C, r, g, b  : 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(numT);
    for t:=0 to numT-1 do
    begin
        read(A, C, r, g, b);
        readln();
        { insert your code here }
        writeln('RED'); { change 42 with actual answer }
    end
end.
