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