baloons = [] for i in range(3): baloons.append(input()) r = baloons.count("RED") b = baloons.count("BLUE") if r > b: print("RED") else: print("BLUE")