def divide(stack):
    """
    Divides the second number by the first number on top of the stack.
    """
    item_1 = stack.pop()
    item_2 = stack.pop()
    result = item_2 / item_1
    stack.append(result)
