S = [input() for _ in range(3)] print("BRLEUDE"[S.count("RED")>S.count("BLUE")::2])