red = 0 blue = 0 for i in range(3): S = input() if S == "RED": red += 1 else: blue += 1 if red >= 2: print("RED") else: print("BLUE")