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