cnt=0
for _ in range(3):cnt+=input()=="RED"
print("RED" if cnt>1 else "BLUE")