
import sys



def 		UpperCamelCase    (					_UpperCAmelCase     :      int   , _UpperCAmelCase     :      list[int]     )      -> int:






						'''simple docstring'''

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

						_lowercase					:  Optional[Any]    			=      0
						_lowercase					:  List[str]    			=      sys.maxsize

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

						return 0 if min_len == sys.maxsize else min_len






def 		UpperCamelCase    (					_UpperCAmelCase     :      int     )      -> bool:






						'''simple docstring'''

						if not isinstance(_UpperCAmelCase   , _UpperCAmelCase     ):
												_lowercase					:  Optional[int]    			=      f"""Input value of [number={number}] must be an integer"""
												raise TypeError(_UpperCAmelCase     )
						if number < 0 or number % 2 == 1:
												return False
						_lowercase					:  List[str]    			=      int(number**0.5     )
						return number == number_sqrt * (number_sqrt + 1)


if __name__ == "__main__":
							import doctest

							doctest.testmod()




