a=input() b=input() c=input() sum=0 if a=="RED": sum=sum+1 if b=="RED": sum=sum+1 if c=="RED": sum=sum+1 if 2<=sum: print("RED") else: print("BLUE")