def RecMult(num_1, num_2):
    """
    Takes in two nonnegative numbers and return the multiplication result of the two numbers without using the multiplication operator *

    Examples:
        >>> RecMult(0,500)
        0
        >>> RecMult(500,0)
        0
        >>> RecMult(1,500)
        500
        >>> RecMult(500,1)
        500
        >>> RecMult(78,16)
        1248
    """
    if num_1 == 0 or num_2 == 0:
        return 0
    else:
        return RecMult(num_1, num_2 - 1) + num_1