





"""simple docstring"""



from typing import Optional, Tuple

from ...tokenization_utils_fast import PreTrainedTokenizerFast
from ...utils import logging
from .tokenization_openai import OpenAIGPTTokenizer


a_				=    logging.get_logger(__name__)

a_				=    {"""vocab_file""": """vocab.json""", """merges_file""": """merges.txt""", """tokenizer_file""": """tokenizer.json"""}

a_				=    {
    """vocab_file""": {"""openai-gpt""": """https://huggingface.co/openai-gpt/resolve/main/vocab.json"""},
    """merges_file""": {"""openai-gpt""": """https://huggingface.co/openai-gpt/resolve/main/merges.txt"""},
    """tokenizer_file""": {"""openai-gpt""": """https://huggingface.co/openai-gpt/resolve/main/tokenizer.json"""},
}

a_				=    {
    """openai-gpt""": 512,
}






class 	__snake_case      (	SCREAMING_SNAKE_CASE__  ):





 """simple docstring"""


 _lowerCamelCase				 =  VOCAB_FILES_NAMES
 _lowerCamelCase				 =  PRETRAINED_VOCAB_FILES_MAP
 _lowerCamelCase				 =  PRETRAINED_POSITIONAL_EMBEDDINGS_SIZES
 _lowerCamelCase				 =  ["""input_ids""", """attention_mask"""]
 _lowerCamelCase				 =  OpenAIGPTTokenizer

 def __init__(					self      ,		__lowerCamelCase=None      ,		__lowerCamelCase=None      ,		__lowerCamelCase=None      ,		__lowerCamelCase="<unk>"      ,		**__lowerCamelCase						):



     '''simple docstring'''




     super().__init__(__lowerCamelCase      ,		__lowerCamelCase      ,		tokenizer_file=__lowerCamelCase      ,		unk_token=__lowerCamelCase      ,		**__lowerCamelCase						)

 @property
 def       UpperCamelCase__(					self						):



     '''simple docstring'''




     return True







 def       UpperCamelCase__(					self      ,		__lowerCamelCase      ,		__lowerCamelCase = None						):



     '''simple docstring'''




     __A					:		Dict						=  self._tokenizer.model.save(__lowerCamelCase      ,		name=__lowerCamelCase						)
     return tuple(__lowerCamelCase						)











"""simple docstring"""



import decimal







def 	__lowercase  (     )     ->int:



    '''simple docstring'''







    __A					:		List[str]						=  0
    __A					:		Tuple						=  decimal.Context(prec=105		)
    for i in range(2       ,100		):
        __A					:		int						=  decimal.Decimal(snake_case_		)
        __A					:		str						=  number.sqrt(snake_case_		)
        if len(str(snake_case_		)		) > 1:
            answer += int(str(snake_case_		)[0]		)
            __A					:		Optional[Any]						=  str(snake_case_		)[2:101]
            answer += sum(int(snake_case_		) for x in sqrt_number_str		)
    return answer


if __name__ == "__main__":
       import doctest

       doctest.testmod()
       print(f'''{solution() = }''')




