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