B = [input() for i in range(3)] if B.count("RED") >= 2: print("RED") else: print("BLUE")