count = {"BLUE":0, "RED":0}
count[input()] += 1
count[input()] += 1
count[input()] += 1
if count["BLUE"] >= 2:
    print("BLUE")
else:
    print("RED")