d = {"RED": 0, "BLUE": 0} for i in range(3): d[input()] += 1 if d["BLUE"] > d["RED"]: print("BLUE") else: print("RED")