import string


def clean_message(message: str) -> str:
    """
    Clean up a string.

    Converts all letters to lowercase, replaces '$' with 'dollar' and removes
    punctuation.
    """
    return (
        message.lower()
        .replace("$", " dollar ")
        .translate(str.maketrans("", "", string.punctuation))
    )