import hashlib


def hash(input: str):
    """
    Function to hash a sentence

    Parameters
    ----------
    input : str
        Input sentence to hash.

    Returns
    -------
    n : int
        Hashed value of the sentence.

    """
    t_value = input.encode("utf8")
    h = hashlib.sha256(t_value)
    n = int(h.hexdigest(), base=16)
    return n