



'''simple docstring'''



from __future__ import annotations



def   _A       (   _lowerCAmelCase  ,   _lowerCAmelCase					):



       """simple docstring"""



       if len(_lowerCAmelCase					) <= 1 or n <= 1:
              return

       insert_next(_lowerCAmelCase  ,   n - 1					)
       rec_insertion_sort(_lowerCAmelCase  ,   n - 1					)



def   _A       (   _lowerCAmelCase  ,   _lowerCAmelCase					):



       """simple docstring"""



       if index >= len(_lowerCAmelCase					) or collection[index - 1] <= collection[index]:
              return

       # Swaps adjacent elements since they are not in ascending order
       __lowercase	,				__lowercase       	=(
           collection[index],
           collection[index - 1],
       )

       insert_next(_lowerCAmelCase  ,   index + 1					)


if __name__ == "__main__":
  lowerCamelCase	 =       input("""Enter integers separated by spaces: """)
  lowerCamelCase	 =       [int(num) for num in numbers.split()]
  rec_insertion_sort(number_list, len(number_list))
  print(number_list)








'''simple docstring'''



import string



def   _A       (   _lowerCAmelCase					):



							"""simple docstring"""



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



def   _A       (   _lowerCAmelCase					):



							"""simple docstring"""



							__lowercase       	=string.ascii_letters
							__lowercase       	=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   _A       (   ):



							"""simple docstring"""



							from timeit import timeit

							print('Running performance benchmarks...'					)
							__lowercase       	='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()



