d = 0 for i = 1, 3, 1 do a = io.read() if(a == "RED") then d = d + 1 end end if(d < 2) then io.write("BLUE") else io.write("RED") end