


from itertools import product






def 					a__ (       _UpperCamelCase = 15 ):





						"""simple docstring"""

						UpperCAmelCase__		=    0.0
						UpperCAmelCase__		=    42
						UpperCAmelCase__		=    42
						UpperCAmelCase__		=    42
						UpperCAmelCase__		=    42
						UpperCAmelCase__		=    42
						UpperCAmelCase__		=    42

						for series in product(range(2 )	,			repeat=_UpperCamelCase ):
												UpperCAmelCase__		=    series.count(1 )
												UpperCAmelCase__		=    num_turns - num_blue
												if num_red >= num_blue:
																		continue
												UpperCAmelCase__		=    1.0
												for ind, col in enumerate(_UpperCamelCase	,			2 ):
																		if col == 0:
																								prob *= (ind - 1) / ind
																		else:
																								prob *= 1 / ind

												total_prob += prob

						return int(1 / total_prob )


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



"""simple docstring"""







from collections import defaultdict






def 					a__ (       _UpperCamelCase = 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 					a__ (       _UpperCamelCase ):





						"""simple docstring"""

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


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