
'''simple docstring'''







import unittest
from dataclasses import dataclass
from typing import Optional

from transformers.utils import ModelOutput







@dataclass
class 		snake_case_       (						A__						):



   """simple docstring"""





   __lowerCAmelCase	:							float
   __lowerCAmelCase	:							Optional[float]								=None
   __lowerCAmelCase	:							Optional[float]								=None







class 		snake_case_       (						unittest.TestCase						):



   """simple docstring"""





   def     __UpperCAmelCase      ( self):
          lowerCamelCase__				   =      ModelOutputTest(a=30)
          self.assertEqual(x.a			,   30)
          self.assertIsNone(x.b)
          self.assertIsNone(x.c)
          with self.assertRaises(UpperCamelCase):
                 lowerCamelCase__				   =      x.d







   def     __UpperCAmelCase      ( self):
          lowerCamelCase__				   =      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))

          lowerCamelCase__				   =      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     __UpperCAmelCase      ( self):
          lowerCamelCase__				   =      ModelOutputTest(a=30			,   b=10)
          self.assertEqual(x["a"]			,   30)
          self.assertEqual(x["b"]			,   10)
          with self.assertRaises(UpperCamelCase):
                 lowerCamelCase__				   =      x["c"]

          lowerCamelCase__				   =      ModelOutputTest(a=30			,   c=10)
          self.assertEqual(x["a"]			,   30)
          self.assertEqual(x["c"]			,   10)
          with self.assertRaises(UpperCamelCase):
                 lowerCamelCase__				   =      x["b"]







   def     __UpperCAmelCase      ( self):
          lowerCamelCase__				   =      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(UpperCamelCase)			,   ["a"])

          lowerCamelCase__				   =      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(UpperCamelCase)			,   ["a", "b"])

          lowerCamelCase__				   =      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(UpperCamelCase)			,   ["a", "c"])

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







   def     __UpperCAmelCase      ( self):
          lowerCamelCase__				   =      ModelOutputTest(a=30)
          lowerCamelCase__				   =      10
          self.assertEqual(x.a			,   10)
          self.assertEqual(x["a"]			,   10)







   def     __UpperCAmelCase      ( self):
          lowerCamelCase__				   =      ModelOutputTest(a=30)
          lowerCamelCase__				   =      10
          self.assertEqual(x.a			,   10)
          self.assertEqual(x["a"]			,   10)







   def     __UpperCAmelCase      ( self):
          lowerCamelCase__				   =      ModelOutputTest({"a": 30, "b": 10})
          self.assertEqual(list(x.keys())			,   ["a", "b"])
          self.assertEqual(x.a			,   30)
          self.assertEqual(x.b			,   10)







   def     __UpperCAmelCase      ( self):
          lowerCamelCase__				   =      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(UpperCamelCase):
                 lowerCamelCase__				   =      ModelOutputTest([("a", 30), (10, 10)])

          lowerCamelCase__				   =      ModelOutputTest(a=(30, 30))
          self.assertEqual(list(x.keys())			,   ["a"])
          self.assertEqual(x.a			,   (30, 30))



'''simple docstring'''







from collections import defaultdict







def   lowerCAmelCase(  a__    :  int = 5      ):







       '''simple docstring'''






       lowerCamelCase__				   =      defaultdict(a__      )
       lowerCamelCase__				   =      0

       while True:
              lowerCamelCase__				   =      get_digits(a__      )
              freqs[digits].append(a__      )

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

              num += 1







def   lowerCAmelCase(  a__    :  int      ):







       '''simple docstring'''






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


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

