

"""simple docstring"""






import math



def   lowercase_	(    _lowercase       :		Any	):




					'''simple docstring'''






					return math.sqrt(SCREAMING_SNAKE_CASE_	) * math.sqrt(SCREAMING_SNAKE_CASE_	) == num



def   lowercase_	(    _lowercase       :		List[str]	):




					'''simple docstring'''






					UpperCAmelCase			:   List[Any]      =				0
					UpperCAmelCase			:   List[Any]      =				n
					while left <= right:
										UpperCAmelCase			:   Any      =				(left + right) // 2
										if mid**2 == n:
															return True
										elif mid**2 > n:
															UpperCAmelCase			:   List[str]      =				mid - 1
										else:
															UpperCAmelCase			:   Optional[int]      =				mid + 1
					return False


if __name__ == "__main__":
	import doctest

	doctest.testmod()





"""simple docstring"""






def   lowercase_	(    _lowercase       :		list							,      _lowercase       :		int							,      _lowercase       :		int = 0							,      _lowercase       :		int = 0	):




					'''simple docstring'''






					UpperCAmelCase			:   Tuple      =				right or len(_lowercase	) - 1
					if left > right:
										return -1
					elif list_data[left] == key:
										return left
					elif list_data[right] == key:
										return right
					else:
										return search(_lowercase							,      _lowercase							,      left + 1							,      right - 1	)


if __name__ == "__main__":
	import doctest

	doctest.testmod()


