from bs4 import BeautifulSoup


def plain_text(html_doc: str) -> str:
    """
    Return a plain-text version of HTML document
    :param html_doc: HTML document
    :return: stripped version of text
    """
    soup = BeautifulSoup(html_doc, "html.parser")
    return soup.get_text()