

'''simple docstring'''
from typing import Literal

_snake_case     						=						'ABCDEFGHIJKLMNOPQRSTUVWXYZ'







def       _A	(			snake_case	,							snake_case	,							snake_case  )    ->			str:
   _lowercase    :   Tuple      =     LETTERS if mode == "decrypt" else key
   _lowercase    :   List[str]      =     key if mode == "decrypt" else LETTERS
   _lowercase    :   Optional[int]      =     ""
   # loop through each symbol in the message
   for symbol in message:
      if symbol.upper() in chars_a:
         # encrypt/decrypt the symbol
         _lowercase    :   str      =     chars_a.find(symbol.upper()  )
         if symbol.isupper():
            translated += chars_b[sym_index].upper()
         else:
            translated += chars_b[sym_index].lower()
      else:
         # symbol is not in LETTERS, just add it
         translated += symbol
   return translated







def       _A	(			snake_case	,							snake_case  )    ->			str:
   return translate_message(snake_case	,							snake_case	,							"encrypt"  )







def       _A	(			snake_case	,							snake_case  )    ->			str:
   return translate_message(snake_case	,							snake_case	,							"decrypt"  )







def       _A	(			)    ->			None:
   _lowercase    :   Optional[int]      =     "Hello World"
   _lowercase    :   List[str]      =     "QWERTYUIOPASDFGHJKLZXCVBNM"
   _lowercase    :   Tuple      =     "decrypt"  # set to 'encrypt' or 'decrypt'

   if mode == "encrypt":
      _lowercase    :   Optional[int]      =     encrypt_message(snake_case	,							snake_case  )
   elif mode == "decrypt":
      _lowercase    :   int      =     decrypt_message(snake_case	,							snake_case  )
   print(F'''Using the key {key}, the {mode}ed message is: {translated}'''  )


if __name__ == "__main__":
    import doctest

    doctest.testmod()
    main()









'''simple docstring'''
def       _A	(			snake_case  )    ->			list:
   _lowercase    :   Optional[Any]      =     1.3
   _lowercase    :   Optional[Any]      =     len(snake_case  )
   _lowercase    :   Optional[int]      =     False

   while not completed:
      # Update the gap value for a next comb
      _lowercase    :   Tuple      =     int(gap / shrink_factor  )
      if gap <= 1:
         _lowercase    :   List[str]      =     True

      _lowercase    :   Optional[int]      =     0
      while index + gap < len(snake_case  ):
         if data[index] > data[index + gap]:
            # Swap values
            _lowercase  ,   _lowercase    :   Any      =     data[index + gap], data[index]
            _lowercase    :   Tuple      =     False
         index += 1

   return data


if __name__ == "__main__":
    import doctest

    doctest.testmod()

    _snake_case     						=						input('Enter numbers separated by a comma:\n').strip()
    _snake_case     						=						[int(item) for item in user_input.split(',')]
    print(comb_sort(unsorted))






