





import string



def _a				(	lowerCamelCase:   Any )	->						Any:







      '''simple docstring'''






      for key in range(len(string.ascii_uppercase ) ):
            __A          =				''''''
            for symbol in message:
                  if symbol in string.ascii_uppercase:
                        __A          =				string.ascii_uppercase.find(A__ )
                        __A          =				num - key
                        if num < 0:
                              __A          =				num + len(string.ascii_uppercase )
                        __A          =				translated + string.ascii_uppercase[num]
                  else:
                        __A          =				translated + symbol
            print(F"""Decryption using Key #{key}: {translated}""" )



def _a				(	)	->						Any:







      '''simple docstring'''






      __A          =				input('''Encrypted message: ''' )
      __A          =				message.upper()
      decrypt(A__ )


if __name__ == "__main__":
       import doctest

       doctest.testmod()
       main()








'''simple docstring'''






lowerCAmelCase__											=	'''Input must be a string of 8 numbers plus letter'''
lowerCAmelCase__											=	'''TRWAGMYFPDXBNJZSQVHLCKE'''


def 		_A     (    A__      ):






 """simple docstring"""



 if not isinstance(A__     ,				A__      ):
  __lowercase							  = F"Expected string as input, found {type(A__      ).__name__}"
  raise TypeError(A__      )

 __lowercase							  = spanish_id.replace('''-'''     ,				''''''      ).upper()
 if len(A__      ) != 9:
  raise ValueError(A__      )

 try:
  __lowercase							  = int(spanish_id_clean[0:8]      )
  __lowercase							  = spanish_id_clean[8]
 except ValueError as ex:
  raise ValueError(A__      ) from ex

 if letter.isdigit():
  raise ValueError(A__      )

 return letter == LOOKUP_LETTERS[number % 23]


if __name__ == "__main__":
 import doctest

 doctest.testmod()

