






"""simple docstring"""





from collections import defaultdict



def      __lowercase       (     a			:					int = 5			)       ->       int:
      __snake_case   :     Dict	      =defaultdict(a			)
      __snake_case   :     Dict	      =0

      while True:
            __snake_case   :     Dict	      =get_digits(a			)
            freqs[digits].append(a			)

            if len(freqs[digits]			) == max_base:
                  __snake_case   :     Union[str, Any]	      =freqs[digits][0] ** 3
                  return base

            num += 1



def      __lowercase       (     a			:					int			)       ->       str:
      return "".join(sorted(str(num**3			)			)			)


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










"""simple docstring"""





from itertools import combinations, product



def      __lowercase       (     a			:					int							,		a			:					int							,		a			:					int							,		a			:					int			)       ->       bool:
      if xa == ya == 0 or xa == ya == 0:
            return False
      __snake_case   :     Any	      =xa * xa + ya * ya
      __snake_case   :     Tuple	      =xa * xa + ya * ya
      __snake_case   :     List[Any]	      =(xa - xa) * (xa - xa) + (ya - ya) * (ya - ya)
      return (
          a_square + b_square == c_square
          or a_square + c_square == b_square
          or b_square + c_square == a_square
      )



def      __lowercase       (     a			:					int = 50			)       ->       int:
      return sum(
          1
          for pta, pta in combinations(product(range(limit + 1			)							,		repeat=2			)							,		2			)
          if is_right(*a							,		*a			)			)


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


