






import string



def 					_lowerCamelCase(			lowerCAmelCase__				:		str      ):





				'''simple docstring'''







				SCREAMING_SNAKE_CASE_   :	Any													=   ''
				for i in sequence:
								SCREAMING_SNAKE_CASE_   :	Dict													=   ord(lowerCAmelCase__      )
								if 65 <= extract <= 90:
												output += chr(155 - extract      )
								elif 97 <= extract <= 122:
												output += chr(219 - extract      )
								else:
												output += i
				return output



def 					_lowerCamelCase(			lowerCAmelCase__				:		str      ):





				'''simple docstring'''







				SCREAMING_SNAKE_CASE_   :	Optional[Any]													=   string.ascii_letters
				SCREAMING_SNAKE_CASE_   :	Any													=   string.ascii_lowercase[::-1] + string.ascii_uppercase[::-1]
				return "".join(
				    letters_reversed[letters.index(lowerCAmelCase__      )] if c in letters else c for c in sequence      )



def 					_lowerCamelCase(			):





				'''simple docstring'''







				from timeit import timeit

				print('Running performance benchmarks...'      )
				SCREAMING_SNAKE_CASE_   :	Any													=   'from string import printable ; from __main__ import atbash, atbash_slow'
				print(F'''> atbash_slow(): {timeit('atbash_slow(printable)'    ,    setup=lowerCAmelCase__      )} seconds'''      )
				print(F'''>      atbash(): {timeit('atbash(printable)'    ,    setup=lowerCAmelCase__      )} seconds'''      )


if __name__ == "__main__":
				for example in ("ABCDEFGH", "123GGjj", "testStringtest", "with space"):
								print(f"""{example} encrypted in atbash: {atbash(example)}""")
				benchmark()







import math



def 					_lowerCamelCase(			lowerCAmelCase__				:		float    ,    lowerCAmelCase__				:		float      ):





				'''simple docstring'''







				return math.pow(lowerCAmelCase__    ,    2      ) - a



def 					_lowerCamelCase(			lowerCAmelCase__				:		float      ):





				'''simple docstring'''







				return 2 * x



def 					_lowerCamelCase(			lowerCAmelCase__				:		float      ):





				'''simple docstring'''







				SCREAMING_SNAKE_CASE_   :	Optional[Any]													=   2.0

				while start <= a:
								SCREAMING_SNAKE_CASE_   :	str													=   math.pow(lowerCAmelCase__    ,    2      )

				return start



def 					_lowerCamelCase(			lowerCAmelCase__				:		float    ,    lowerCAmelCase__				:		int = 9999    ,    lowerCAmelCase__				:		float = 0.00_000_000_000_001      ):





				'''simple docstring'''







				if a < 0:
								raise ValueError('math domain error'      )

				SCREAMING_SNAKE_CASE_   :	Optional[int]													=   get_initial_point(lowerCAmelCase__      )

				for _ in range(lowerCAmelCase__      ):
								SCREAMING_SNAKE_CASE_   :	Tuple													=   value
								SCREAMING_SNAKE_CASE_   :	Union[str, Any]													=   value - fx(lowerCAmelCase__    ,    lowerCAmelCase__      ) / fx_derivative(lowerCAmelCase__      )
								if abs(prev_value - value      ) < tolerance:
												return value

				return value


if __name__ == "__main__":
				from doctest import testmod

				testmod()