def redact_desc(desc, redact):
    """
    Redacts bio for the final hint by removing any mention of
    author's name, lastname, and any middle names, if present.
    Returns a redacted string
    """
    redacted_desc = desc
    split_name = redact.split()
    while split_name:
        redacted_desc = redacted_desc.replace(split_name.pop(), "REDACTED")
    return redacted_desc