

"""simple docstring"""






def   lowercase_	(    _lowercase       :		int	):




					'''simple docstring'''






					if num < 0:
										return False

					UpperCAmelCase			:   int      =				num
					UpperCAmelCase			:   int      =				0
					while num > 0:
										UpperCAmelCase			:   Tuple      =				rev_num * 10 + (num % 10)
										num //= 10

					return num_copy == rev_num


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


