'''simple docstring'''
import string







def  _UpperCamelCase (     _a	:	List[Any]			):




    """simple docstring"""



    for key in range(len(string.ascii_uppercase			)			):
        __UpperCamelCase	:	Any		    =  ''
        for symbol in message:
            if symbol in string.ascii_uppercase:
                __UpperCamelCase	:	Optional[Any]		    =  string.ascii_uppercase.find(_SCREAMING_SNAKE_CASE			)
                __UpperCamelCase	:	Dict		    =  num - key
                if num < 0:
                    __UpperCamelCase	:	List[Any]		    =  num + len(string.ascii_uppercase			)
                __UpperCamelCase	:	List[str]		    =  translated + string.ascii_uppercase[num]
            else:
                __UpperCamelCase	:	List[str]		    =  translated + symbol
        print(f"""Decryption using Key #{key}: {translated}"""			)







def  _UpperCamelCase (     ):




    """simple docstring"""



    __UpperCamelCase	:	str		    =  input('Encrypted message: '			)
    __UpperCamelCase	:	Optional[int]		    =  message.upper()
    decrypt(_SCREAMING_SNAKE_CASE			)


if __name__ == "__main__":
  import doctest

  doctest.testmod()
  main()


'''simple docstring'''
import os
import unittest

from transformers import LayoutLMTokenizer, LayoutLMTokenizerFast
from transformers.models.layoutlm.tokenization_layoutlm import VOCAB_FILES_NAMES
from transformers.testing_utils import require_tokenizers

from ...test_tokenization_common import TokenizerTesterMixin






@require_tokenizers
class 			__lowercase		(						_lowerCamelCase			,							unittest.TestCase						):







     """simple docstring"""






     SCREAMING_SNAKE_CASE__		   =						LayoutLMTokenizer
     SCREAMING_SNAKE_CASE__		   =						LayoutLMTokenizerFast
     SCREAMING_SNAKE_CASE__		   =						True
     SCREAMING_SNAKE_CASE__		   =						True







     def lowerCAmelCase     (		self    ):
         super().setUp()

         __UpperCamelCase	:	List[str]		    =  [
             '[UNK]',
             '[CLS]',
             '[SEP]',
             'want',
             '##want',
             '##ed',
             'wa',
             'un',
             'runn',
             '##ing',
             ',',
             'low',
             'lowest',
         ]
         __UpperCamelCase	:	Union[str, Any]		    =  os.path.join(self.tmpdirname     ,			VOCAB_FILES_NAMES['vocab_file']    )
         with open(self.vocab_file     ,			'w'     ,			encoding='utf-8'    ) as vocab_writer:
             vocab_writer.write(''.join([x + '\n' for x in vocab_tokens]    )    )







     def lowerCAmelCase     (		self     ,			**_lowerCamelCase    ):
         return LayoutLMTokenizer.from_pretrained(self.tmpdirname     ,			**_lowerCamelCase    )







     def lowerCAmelCase     (		self     ,			_lowerCamelCase    ):
         __UpperCamelCase	:	Dict		    =  'UNwant\u00E9d,running'
         __UpperCamelCase	:	Union[str, Any]		    =  'unwanted, running'
         return input_text, output_text







     def lowerCAmelCase     (		self    ):
         __UpperCamelCase	:	Dict		    =  self.tokenizer_class(self.vocab_file    )

         __UpperCamelCase	:	Optional[Any]		    =  tokenizer.tokenize('UNwant\u00E9d,running'    )
         self.assertListEqual(_lowerCamelCase     ,			['un', '##want', '##ed', ',', 'runn', '##ing']    )
         self.assertListEqual(tokenizer.convert_tokens_to_ids(_lowerCamelCase    )     ,			[7, 4, 5, 1_0, 8, 9]    )







     def lowerCAmelCase     (		self    ):
         pass



