import random


def randnum(min: int, max: int) -> int:
    """
    returns a random number between the min and max
    :param min: :class:`int` the minimum number to return
    :param max: :class:`int` the maximum number to return
    :return: :class:`int` the chosen number
    """
    return random.randint(min, max)