def strip_unneeded(text: str) -> str:
    """Get rid of unneeded characters in text and return it.
    """
    text = text.strip().replace("+", "").replace(",", "").replace(" ", "")
    if not text:
        text = "0"
    return text