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