






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

from transformers.models.xlm.tokenization_xlm import VOCAB_FILES_NAMES, XLMTokenizer
from transformers.testing_utils import slow

from ...test_tokenization_common import TokenizerTesterMixin






class        __SCREAMING_SNAKE_CASE (     lowerCamelCase		,			unittest.TestCase			):
 snake_case_												=							XLMTokenizer
 snake_case_												=							False




 def        __magic_name__		( self		:							Optional[int] )		->  str:
       super().setUp()

       # Adapted from Sennrich et al. 2015 and https://github.com/rsennrich/subword-nmt
       SCREAMING_SNAKE_CASE__       :			Any													=[
           '''l''',
           '''o''',
           '''w''',
           '''e''',
           '''r''',
           '''s''',
           '''t''',
           '''i''',
           '''d''',
           '''n''',
           '''w</w>''',
           '''r</w>''',
           '''t</w>''',
           '''lo''',
           '''low''',
           '''er</w>''',
           '''low</w>''',
           '''lowest</w>''',
           '''newer</w>''',
           '''wider</w>''',
           '''<unk>''',
       ]
       SCREAMING_SNAKE_CASE__       :			Optional[int]													=dict(zip(__lowercase   , range(len(__lowercase ) ) ) )
       SCREAMING_SNAKE_CASE__       :			Union[str, Any]													=['''l o 123''', '''lo w 1456''', '''e r</w> 1789''', '''''']

       SCREAMING_SNAKE_CASE__       :			Tuple													=os.path.join(self.tmpdirname   , VOCAB_FILES_NAMES['''vocab_file'''] )
       SCREAMING_SNAKE_CASE__       :			int													=os.path.join(self.tmpdirname   , VOCAB_FILES_NAMES['''merges_file'''] )
       with open(self.vocab_file   , '''w''' ) as fp:
             fp.write(json.dumps(__lowercase ) )
       with open(self.merges_file   , '''w''' ) as fp:
             fp.write('''\n'''.join(__lowercase ) )




 def        __magic_name__		( self		:							Tuple   , __lowercase		:							List[Any] )		->  Optional[Any]:
       SCREAMING_SNAKE_CASE__       :			Optional[int]													='''lower newer'''
       SCREAMING_SNAKE_CASE__       :			Tuple													='''lower newer'''
       return input_text, output_text




 def        __magic_name__		( self		:							Optional[Any] )		->  Dict:
       SCREAMING_SNAKE_CASE__       :			Any													=XLMTokenizer(self.vocab_file   , self.merges_file )

       SCREAMING_SNAKE_CASE__       :			List[Any]													='''lower'''
       SCREAMING_SNAKE_CASE__       :			Tuple													=['''low''', '''er</w>''']
       SCREAMING_SNAKE_CASE__       :			str													=tokenizer.tokenize(__lowercase )
       self.assertListEqual(__lowercase   , __lowercase )

       SCREAMING_SNAKE_CASE__       :			Optional[Any]													=tokens + ['''<unk>''']
       SCREAMING_SNAKE_CASE__       :			Tuple													=[14, 15, 20]
       self.assertListEqual(tokenizer.convert_tokens_to_ids(__lowercase )   , __lowercase )




 @slow
 def        __magic_name__		( self		:							int )		->  Union[str, Any]:
       SCREAMING_SNAKE_CASE__       :			Tuple													=XLMTokenizer.from_pretrained('''xlm-mlm-en-2048''' )

       SCREAMING_SNAKE_CASE__       :			Optional[int]													=tokenizer.encode('''sequence builders'''   , add_special_tokens=__lowercase )
       SCREAMING_SNAKE_CASE__       :			List[str]													=tokenizer.encode('''multi-sequence build'''   , add_special_tokens=__lowercase )

       SCREAMING_SNAKE_CASE__       :			List[str]													=tokenizer.build_inputs_with_special_tokens(__lowercase )
       SCREAMING_SNAKE_CASE__       :			List[str]													=tokenizer.build_inputs_with_special_tokens(__lowercase   , __lowercase )

       assert encoded_sentence == [0] + text + [1]
       assert encoded_pair == [0] + text + [1] + text_a + [1]







'''simple docstring'''
from math import factorial





def 	_a(					UpperCamelCase__			:  int = 1_0_0							):




      '''simple docstring'''






      return sum(int(UpperCamelCase__							) for x in str(factorial(UpperCamelCase__							)							)							)


if __name__ == "__main__":
  print(solution(int(input('Enter the Number: ').strip())))