




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        _lowerCamelCase  (	_SCREAMING_SNAKE_CASE      ):

      """simple docstring"""

      lowerCAmelCase__	:       Union[str, Any]			=    VOCAB_FILES_NAMES
      lowerCAmelCase__	:       str			=    PRETRAINED_VOCAB_FILES_MAP
      lowerCAmelCase__	:       List[str]			=    PRETRAINED_POSITIONAL_EMBEDDINGS_SIZES
      lowerCAmelCase__	:       int			=    ["input_ids", "attention_mask"]
      lowerCAmelCase__	:       int			=    OpenAIGPTTokenizer







      def __init__(   self    :       List[Any]       ,				snake_case    :       List[str]=None       ,				snake_case    :       Optional[Any]=None       ,				snake_case    :       str=None       ,				snake_case    :       Union[str, Any]="<unk>"       ,				**snake_case    :       List[Any] ):
          super().__init__(snake_case       ,				snake_case       ,				tokenizer_file=snake_case       ,				unk_token=snake_case       ,				**snake_case )







      @property
      def 					snake_case		(   self    :       Optional[int] ):
          return True







      def 					snake_case		(   self    :       Any       ,				snake_case    :       str       ,				snake_case    :       Optional[str] = None ):
          __UpperCamelCase     						=  self._tokenizer.model.save(snake_case       ,				name=snake_case )
          return tuple(snake_case )













"""simple docstring"""


A_     :      Dict								=1_0**8





def SCREAMING_SNAKE_CASE_   (       snake_case   :					int		)->		bool:
       if n % 10 == 0:
              return False
       _lowerCamelCase    	=					str(snake_case		)
       return s == s[::-1]





def SCREAMING_SNAKE_CASE_   (       )->		int:
       _lowerCamelCase    	=					set()
       _lowerCamelCase    	=					1
       _lowerCamelCase    	=					5
       while sum_squares < LIMIT:
              _lowerCamelCase    	=					first_square + 1
              while sum_squares < LIMIT:
                     if is_palindrome(snake_case		):
                            answer.add(snake_case		)
                     last_square += 1
                     sum_squares += last_square**2
              first_square += 1
              _lowerCamelCase    	=					first_square**2 + (first_square + 1) ** 2

       return sum(snake_case		)


if __name__ == "__main__":
      print(solution())






