

"""simple docstring"""






def   lowercase_	(    _lowercase       :		int	):




					'''simple docstring'''






					if not isinstance(_lowercase							,      _lowercase	):
										UpperCAmelCase			:   Optional[Any]      =				F"""Input value of [number={number}] must be an integer"""
										raise TypeError(_lowercase	)
					if number < 0:
										return False
					UpperCAmelCase			:   List[Any]      =				number * number
					while number > 0:
										if number % 10 != number_square % 10:
															return False
										number //= 10
										number_square //= 10
					return True


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()


