






import unittest
from dataclasses import dataclass
from typing import Optional

from transformers.utils import ModelOutput
@dataclass
class 				_UpperCAmelCase (	A__     ):

				"""simple docstring"""




				lowercase__    							=	42
				lowercase__    							=	None
				lowercase__    							=	None



class 				_UpperCAmelCase (	unittest.TestCase     ):

				"""simple docstring"""




				def     lowercase__       (					self						:   str  ):

								'''simple docstring'''
								lowercase__       			=      ModelOutputTest(a=30  )
								self.assertEqual(x.a,  30  )
								self.assertIsNone(x.b  )
								self.assertIsNone(x.c  )
								with self.assertRaises(lowerCamelCase  ):
												lowercase__       			=      x.d




				def     lowercase__       (					self						:   List[Any]  ):

								'''simple docstring'''
								lowercase__       			=      ModelOutputTest(a=30,  b=10  )
								self.assertEqual(x[0],  30  )
								self.assertEqual(x[1],  10  )
								self.assertEqual(x[:2],  (30, 10)  )
								self.assertEqual(x[:],  (30, 10)  )

								lowercase__       			=      ModelOutputTest(a=30,  c=10  )
								self.assertEqual(x[0],  30  )
								self.assertEqual(x[1],  10  )
								self.assertEqual(x[:2],  (30, 10)  )
								self.assertEqual(x[:],  (30, 10)  )




				def     lowercase__       (					self						:   Dict  ):

								'''simple docstring'''
								lowercase__       			=      ModelOutputTest(a=30,  b=10  )
								self.assertEqual(x['''a'''],  30  )
								self.assertEqual(x['''b'''],  10  )
								with self.assertRaises(lowerCamelCase  ):
												lowercase__       			=      x['''c''']

								lowercase__       			=      ModelOutputTest(a=30,  c=10  )
								self.assertEqual(x['''a'''],  30  )
								self.assertEqual(x['''c'''],  10  )
								with self.assertRaises(lowerCamelCase  ):
												lowercase__       			=      x['''b''']




				def     lowercase__       (					self						:   Tuple  ):

								'''simple docstring'''
								lowercase__       			=      ModelOutputTest(a=30  )
								self.assertEqual(list(x.keys()  ),  ['''a''']  )
								self.assertEqual(list(x.values()  ),  [30]  )
								self.assertEqual(list(x.items()  ),  [('''a''', 30)]  )
								self.assertEqual(list(lowerCamelCase  ),  ['''a''']  )

								lowercase__       			=      ModelOutputTest(a=30,  b=10  )
								self.assertEqual(list(x.keys()  ),  ['''a''', '''b''']  )
								self.assertEqual(list(x.values()  ),  [30, 10]  )
								self.assertEqual(list(x.items()  ),  [('''a''', 30), ('''b''', 10)]  )
								self.assertEqual(list(lowerCamelCase  ),  ['''a''', '''b''']  )

								lowercase__       			=      ModelOutputTest(a=30,  c=10  )
								self.assertEqual(list(x.keys()  ),  ['''a''', '''c''']  )
								self.assertEqual(list(x.values()  ),  [30, 10]  )
								self.assertEqual(list(x.items()  ),  [('''a''', 30), ('''c''', 10)]  )
								self.assertEqual(list(lowerCamelCase  ),  ['''a''', '''c''']  )

								with self.assertRaises(lowerCamelCase  ):
												lowercase__       			=      x.update({'''d''': 20}  )
								with self.assertRaises(lowerCamelCase  ):
												del x["a"]
								with self.assertRaises(lowerCamelCase  ):
												lowercase__       			=      x.pop('''a'''  )
								with self.assertRaises(lowerCamelCase  ):
												lowercase__       			=      x.setdefault('''d''',  32  )




				def     lowercase__       (					self						:   Any  ):

								'''simple docstring'''
								lowercase__       			=      ModelOutputTest(a=30  )
								lowercase__       			=      10
								self.assertEqual(x.a,  10  )
								self.assertEqual(x['''a'''],  10  )




				def     lowercase__       (					self						:   Optional[int]  ):

								'''simple docstring'''
								lowercase__       			=      ModelOutputTest(a=30  )
								lowercase__       			=      10
								self.assertEqual(x.a,  10  )
								self.assertEqual(x['''a'''],  10  )




				def     lowercase__       (					self						:   Dict  ):

								'''simple docstring'''
								lowercase__       			=      ModelOutputTest({'''a''': 30, '''b''': 10}  )
								self.assertEqual(list(x.keys()  ),  ['''a''', '''b''']  )
								self.assertEqual(x.a,  30  )
								self.assertEqual(x.b,  10  )




				def     lowercase__       (					self						:   Any  ):

								'''simple docstring'''
								lowercase__       			=      ModelOutputTest([('''a''', 30), ('''b''', 10)]  )
								self.assertEqual(list(x.keys()  ),  ['''a''', '''b''']  )
								self.assertEqual(x.a,  30  )
								self.assertEqual(x.b,  10  )

								with self.assertRaises(lowerCamelCase  ):
												lowercase__       			=      ModelOutputTest([('''a''', 30), (10, 10)]  )

								lowercase__       			=      ModelOutputTest(a=(30, 30)  )
								self.assertEqual(list(x.keys()  ),  ['''a''']  )
								self.assertEqual(x.a,  (30, 30)  )












from collections import defaultdict






def   a      (						lowerCamelCase_ = 5    ):






				'''simple docstring'''
				lowercase__       			=      defaultdict(lowerCamelCase_    )
				lowercase__       			=      0

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

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

								num += 1






def   a      (						lowerCamelCase_    ):






				'''simple docstring'''
				return "".join(sorted(str(num**3    )    )    )


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




