def add_until_100(array: list):
	"""add numbers to a sum from list: array unless makes sum > 100"""
	if not array:    # base case
		return 0
	sum_remaining = add_until_100(array[1:])
	if array[0] + sum_remaining > 100:
		return sum_remaining
	else:
		return array[0] + sum_remaining