




from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_sentencepiece_available, is_tokenizers_available


lowerCamelCase__				:     Optional[Any]			       =							{}

try:
   if not is_sentencepiece_available():
      raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
   pass
else:
   lowerCamelCase__				:     str			       =							['CpmTokenizer']

try:
   if not is_tokenizers_available():
      raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
   pass
else:
   lowerCamelCase__				:     List[str]			       =							['CpmTokenizerFast']


if TYPE_CHECKING:
   try:
      if not is_sentencepiece_available():
         raise OptionalDependencyNotAvailable()
   except OptionalDependencyNotAvailable:
      pass
   else:
      from .tokenization_cpm import CpmTokenizer

   try:
      if not is_tokenizers_available():
         raise OptionalDependencyNotAvailable()
   except OptionalDependencyNotAvailable:
      pass
   else:
      from .tokenization_cpm_fast import CpmTokenizerFast

else:
   import sys

   lowerCamelCase__				:     Dict			       =							_LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)





from collections import defaultdict

def       UpperCAmelCase_							(   __UpperCAmelCase		:			int = 5							)      ->				int:
      SCREAMING_SNAKE_CASE_					=    defaultdict(__UpperCAmelCase							)
      SCREAMING_SNAKE_CASE_					=    0

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

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

            num += 1

def       UpperCAmelCase_							(   __UpperCAmelCase		:			int							)      ->				str:
      return "".join(sorted(str(num**3							)							)							)


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