R=0
B=0
for i in range(3):
    S=input()
    if S[0]=="R":
        R+=1
    else:
        B+=1

if R>B:
    print("RED")
else:
    print("BLUE")