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