RED, BLUE = 0, 0 S1 = input() if S1 == "RED": RED += 1 else: BLUE += 1 S2 = input() if S2 == "RED": RED += 1 else: BLUE += 1 S3 = input() if S3 == "RED": RED += 1 else: BLUE += 1 if RED < BLUE: print("BLUE") else: print("RED")