

'''simple docstring'''
from collections import defaultdict


def       a__    (  _SCREAMING_SNAKE_CASE					:    int = 5							)			-> int:


	"""simple docstring"""





	UpperCAmelCase_			:	str      =   defaultdict(_SCREAMING_SNAKE_CASE							)
	UpperCAmelCase_			:	str      =   0

	while True:
		UpperCAmelCase_			:	Optional[Any]      =   get_digits(_SCREAMING_SNAKE_CASE							)
		freqs[digits].append(_SCREAMING_SNAKE_CASE							)

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

		num += 1


def       a__    (  _SCREAMING_SNAKE_CASE					:    int							)			-> str:


	"""simple docstring"""





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


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







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

import pytest
from parameterized import parameterized

from transformers.testing_utils import require_torch, require_torch_gpu, slow, torch_device


# skipping in unittest tests

_lowerCamelCase	 =			[(1,)]


def       a__    (  )			-> str:


	"""simple docstring"""





	UpperCAmelCase_			:	Optional[int]      =   bool(os.getenv("RUN_SLOW"     ,							0							)							)
	if run_slow:
		assert True
	else:
		assert False, "should have been skipped"


def       a__    (  )			-> str:


	"""simple docstring"""





	UpperCAmelCase_			:	Optional[Any]      =   bool(os.getenv("RUN_SLOW"     ,							0							)							)
	if run_slow and torch_device == "cuda":
		assert True
	else:
		assert False, "should have been skipped"
@require_torch
class  _snake_case						(unittest.TestCase):






			@slow
			@require_torch_gpu
			def 						UpperCamelCase__				(   self			):
				check_slow_torch_cuda()






			@require_torch_gpu
			@slow
			def 						UpperCamelCase__				(   self			):
				check_slow_torch_cuda()






			@parameterized.expand(_snake_case			)
			@slow
			def 						UpperCamelCase__				(   self       ,_snake_case=None			):
				check_slow()




@slow
@require_torch_gpu
def       a__    (  )			-> List[Any]:


	"""simple docstring"""





	check_slow_torch_cuda()


@require_torch_gpu
@slow
def       a__    (  )			-> List[str]:


	"""simple docstring"""





	check_slow_torch_cuda()


@slow
@pytest.mark.parametrize("param"     ,							[1]							)
def       a__    (  _SCREAMING_SNAKE_CASE					:    int							)			-> List[Any]:


	"""simple docstring"""





	check_slow()





@pytest.mark.parametrize("param"     ,							[1]							)
@slow
def       a__    (  _SCREAMING_SNAKE_CASE					:    List[str]							)			-> Any:


	"""simple docstring"""





	check_slow()




