def minimum(a, b):
    """
    Finds the minimum of two numbers.

    >>> minimum(3, 2)
    2
    >>> minimum(2, 3)
    2
    >>> minimum(2, 2)
    2

    :param a: first number
    :param b: second number
    :return: minimum
    """

    return a if a <= b else b