





import unittest

from transformers import RoFormerTokenizer, RoFormerTokenizerFast
from transformers.testing_utils import require_rjieba, require_tokenizers

from ...test_tokenization_common import TokenizerTesterMixin

@require_rjieba
@require_tokenizers
class 		SCREAMING_SNAKE_CASE__    (	_UpperCAmelCase						,				unittest.TestCase  ):
      A_						:    Optional[Any]							=   RoFormerTokenizer
      A_						:    Optional[int]							=   RoFormerTokenizerFast
      A_						:    List[Any]							=   True
      A_						:    Union[str, Any]							=   True


      def        a			(self	:				str				):





         """simple docstring"""



         super().setUp()


      def        a			(self	:				Tuple    ,      **a__	:				Optional[Any]				):





         """simple docstring"""



         return self.tokenizer_class.from_pretrained('''junnyu/roformer_chinese_base'''    ,      **a__				)


      def        a			(self	:				List[Any]    ,      **a__	:				Dict				):





         """simple docstring"""



         return self.rust_tokenizer_class.from_pretrained('''junnyu/roformer_chinese_base'''    ,      **a__				)


      def        a			(self	:				Optional[int]				):





         """simple docstring"""



         __snake_case								=       '''永和服装饰品有限公司,今天天气非常好'''
         __snake_case								=       '''永和 服装 饰品 有限公司 , 今 天 天 气 非常 好'''
         return input_text, output_text


      def        a			(self	:				Optional[Any]				):





         """simple docstring"""



         __snake_case								=       self.get_tokenizer()
         __snake_case	,     __snake_case								=       self.get_chinese_input_output_texts()
         __snake_case								=       tokenizer.tokenize(a__				)

         self.assertListEqual(a__    ,      output_text.split()				)

         __snake_case								=       tokens + [tokenizer.unk_token]
         __snake_case								=       [2_2943, 2_1332, 3_4431, 4_5904, 117, 306, 1231, 1231, 2653, 3_3994, 1266, 100]
         self.assertListEqual(tokenizer.convert_tokens_to_ids(a__				)    ,      a__				)


      def        a			(self	:				Optional[Any]				):





         """simple docstring"""



         __snake_case								=       self.get_rust_tokenizer()
         __snake_case	,     __snake_case								=       self.get_chinese_input_output_texts()
         __snake_case								=       tokenizer.tokenize(a__				)
         self.assertListEqual(a__    ,      output_text.split()				)
         __snake_case								=       tokens + [tokenizer.unk_token]
         __snake_case								=       [2_2943, 2_1332, 3_4431, 4_5904, 117, 306, 1231, 1231, 2653, 3_3994, 1266, 100]
         self.assertListEqual(tokenizer.convert_tokens_to_ids(a__				)    ,      a__				)


      def        a			(self	:				Dict				):





         """simple docstring"""



         pass


      def        a			(self	:				Optional[Any]				):





         """simple docstring"""



         pass


      def        a			(self	:				int				):





         """simple docstring"""



         pass








def lowerCamelCase__   (							snake_case_     :  int = 1000	)				->    int:
   __snake_case								=       2**power
   __snake_case								=       str(snake_case_	)
   __snake_case								=       list(snake_case_	)
   __snake_case								=       0

   for i in list_num:
      sum_of_num += int(snake_case_	)

   return sum_of_num


if __name__ == "__main__":
    snake_case_           =      int(input('Enter the power of 2: ').strip())
    print('2 ^ ', power, ' = ', 2**power)
    snake_case_           =      solution(power)
    print('Sum of the digits is: ', result)

