




from collections import defaultdict




def 					SCREAMING_SNAKE_CASE	(       __UpperCamelCase			:						int = 5      )  ->							int:
    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 					SCREAMING_SNAKE_CASE	(       __UpperCamelCase			:						int      )  ->							str:
    return "".join(sorted(str(num**3      )      )      )


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











from __future__ import annotations




def 					SCREAMING_SNAKE_CASE	(       __UpperCamelCase			:						list[int | float]      )  ->							int | float:
    if len(__UpperCamelCase      ) == 0:
        raise ValueError('''find_max() arg is an empty sequence'''      )
    UpperCAmelCase_							 =     nums[0]
    for x in nums:
        if x > max_num:
            UpperCAmelCase_							 =     x
    return max_num


if __name__ == "__main__":
 import doctest

 doctest.testmod(verbose=True)





