
'''simple docstring'''







import sys

def 				_snake_case (		lowercase			,    lowercase						)       ->       int:
				if not numbers:
								return 0
				if target == 0 and target in numbers:
								return 0
				if not isinstance(lowercase			,    (list, tuple)						) or not all(
				    isinstance(lowercase			,    lowercase						) for number in numbers						):
								raise ValueError("""numbers must be an iterable of integers"""						)

				__a       :     List[Any]								=	0
				__a       :     int								=	sys.maxsize

				while right < len(lowercase						):
								curr_sum += numbers[right]
								while curr_sum >= target and left <= right:
												__a       :     Any								=	min(lowercase			,    right - left + 1						)
												curr_sum -= numbers[left]
												left += 1
								right += 1

				return 0 if min_len == sys.maxsize else min_len

'''simple docstring'''







def 				_snake_case (		lowercase						)       ->       int:
				if not isinstance(lowercase			,    lowercase						):
								__a       :     Union[str, Any]								=	F"""Input value of [number={number}] must be an integer"""
								raise TypeError(lowercase						)
				if number < 1:
								raise ValueError("""Input must be a positive integer"""						)
				return number * (2 * number - 1)


if __name__ == "__main__":
					import doctest

					doctest.testmod()