




'''simple docstring'''


from __future__ import annotations
def 	snake_case_					(UpperCamelCase :						list[int]   ):





							'''simple docstring'''


							_a			  =       len(UpperCamelCase   ) // 2

							# choose the middle 3 elements
							_a			  =       lst[m - 1 : m + 2]

							# if middle element is peak
							if three[1] > three[0] and three[1] > three[2]:
														return three[1]

							# if increasing, recurse on right
							elif three[0] < three[2]:
														if len(lst[:m]   ) == 2:
																					m -= 1
														return peak(lst[m:]   )

							# decreasing
							else:
														if len(lst[:m]   ) == 2:
																					m += 1
														return peak(lst[:m]   )


if __name__ == "__main__":
				import doctest

				doctest.testmod()







'''simple docstring'''


_snake_case   :   Any     							=	tuple[float, float, float]
_snake_case   :   Optional[int]     							=	tuple[float, float, float]
def 	snake_case_					(UpperCamelCase :						Pointad				,		UpperCamelCase :						Pointad   ):





							'''simple docstring'''


							_a			  =       end_pointa[0] - end_pointa[0]
							_a			  =       end_pointa[1] - end_pointa[1]
							_a			  =       end_pointa[2] - end_pointa[2]
							return (x, y, z)
def 	snake_case_					(UpperCamelCase :						Vectorad				,		UpperCamelCase :						Vectorad   ):





							'''simple docstring'''


							_a			  =       ab[1] * ac[2] - ab[2] * ac[1]  # *i
							_a			  =       (ab[0] * ac[2] - ab[2] * ac[0]) * -1  # *j
							_a			  =       ab[0] * ac[1] - ab[1] * ac[0]  # *k
							return (x, y, z)
def 	snake_case_					(UpperCamelCase :						Vectorad				,		UpperCamelCase :						int   ):





							'''simple docstring'''


							return tuple(round(UpperCamelCase				,		UpperCamelCase   ) for x in vector   ) == (0, 0, 0)

def 	snake_case_					(UpperCamelCase :						Pointad				,		UpperCamelCase :						Pointad				,		UpperCamelCase :						Pointad				,		UpperCamelCase :						int = 10   ):





							'''simple docstring'''


							_a			  =       create_vector(UpperCamelCase				,		UpperCamelCase   )
							_a			  =       create_vector(UpperCamelCase				,		UpperCamelCase   )
							return is_zero_vector(get_ad_vectors_cross(UpperCamelCase				,		UpperCamelCase   )				,		UpperCamelCase   )

