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