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