S = [input() for i in range(3)]
print("RED" if S.count("RED") >= 2 else "BLUE")