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