a=0 for i in range(3): s=input() if s[0]=="R": a+=1 if a>=2: print("RED") else: print("BLUE")