cnt=0
for i in range(3):
    if input() == "RED":
        cnt += 1

if cnt >= 2:
    print("RED")
else:
    print("BLUE")