S = [input() for _ in range(3)] print(["BLUE","RED"][S.count("RED") > 1])