"""simple docstring"""

from typing import Optional, Tuple

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


__lowercase    =				logging.get_logger(__name__)

__lowercase    =				{'''vocab_file''': '''vocab.json''', '''merges_file''': '''merges.txt''', '''tokenizer_file''': '''tokenizer.json'''}

__lowercase    =				{
    '''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'''},
}

__lowercase    =				{
    '''openai-gpt''': 512,
}






class 		_lowercase (						__a      ):



						"""simple docstring"""




						lowercase__       =  VOCAB_FILES_NAMES
						lowercase__       =  PRETRAINED_VOCAB_FILES_MAP
						lowercase__       =  PRETRAINED_POSITIONAL_EMBEDDINGS_SIZES
						lowercase__       =  ['''input_ids''', '''attention_mask''']
						lowercase__       =  OpenAIGPTTokenizer





						def __init__(				self							:    Optional[int]     , UpperCamelCase__							:    Dict=None     , UpperCamelCase__							:    Optional[int]=None     , UpperCamelCase__							:    List[Any]=None     , UpperCamelCase__							:    Optional[Any]="<unk>"     , **UpperCamelCase__							:    Dict				)				->				str:
													'''simple docstring'''



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





						@property
						def   UpperCAmelCase_ (				self							:    Union[str, Any]				)				->				str:
													'''simple docstring'''



													return True





						def   UpperCAmelCase_ (				self							:    Any     , UpperCamelCase__							:    str     , UpperCamelCase__							:    Optional[str] = None				)				->				Tuple[str]:
													'''simple docstring'''



													__UpperCamelCase							=self._tokenizer.model.save(UpperCamelCase__     , name=UpperCamelCase__				)
													return tuple(UpperCamelCase__				)




"""simple docstring"""

from collections import defaultdict


def    lowerCAmelCase			(__UpperCamelCase							:    int = 5			):
							"""simple docstring"""


							__UpperCamelCase							=defaultdict(__UpperCamelCase			)
							__UpperCamelCase							=0

							while True:
														__UpperCamelCase							=get_digits(__UpperCamelCase			)
														freqs[digits].append(__UpperCamelCase			)

														if len(freqs[digits]			) == max_base:
																					__UpperCamelCase							=freqs[digits][0] ** 3
																					return base

														num += 1


def    lowerCAmelCase			(__UpperCamelCase							:    int			):
							"""simple docstring"""


							return "".join(sorted(str(num**3			)			)			)


if __name__ == "__main__":
				print(f'''{solution() = }''')



