class Problem0516:
    def solve(this):
        res = { "RED": 0, "BLUE": 0 }
        res[input()] += 1
        res[input()] += 1
        res[input()] += 1
        if res["RED"] > res["BLUE"]:
            print("RED")
        else:
            print("BLUE")

if __name__ == "__main__":
    problem = Problem0516()
    problem.solve()