


from collections import defaultdict






def        __lowerCAmelCase    (SCREAMING_SNAKE_CASE = 5					)->  int:




      """simple docstring"""

      snake_case_       =      defaultdict(SCREAMING_SNAKE_CASE					)
      snake_case_       =      0

      while True:
            snake_case_       =      get_digits(SCREAMING_SNAKE_CASE					)
            freqs[digits].append(SCREAMING_SNAKE_CASE					)

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

            num += 1






def        __lowerCAmelCase    (SCREAMING_SNAKE_CASE					)->  str:




      """simple docstring"""

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


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



UpperCAmelCase			=    10**8






def        __lowerCAmelCase    (SCREAMING_SNAKE_CASE					)->  bool:




      """simple docstring"""

      if n % 10 == 0:
            return False
      snake_case_       =      str(SCREAMING_SNAKE_CASE					)
      return s == s[::-1]






def        __lowerCAmelCase    ()->  int:




      """simple docstring"""

      snake_case_       =      set()
      snake_case_       =      1
      snake_case_       =      5
      while sum_squares < LIMIT:
            snake_case_       =      first_square + 1
            while sum_squares < LIMIT:
                  if is_palindrome(SCREAMING_SNAKE_CASE					):
                        answer.add(SCREAMING_SNAKE_CASE					)
                  last_square += 1
                  sum_squares += last_square**2
            first_square += 1
            snake_case_       =      first_square**2 + (first_square + 1) ** 2

      return sum(SCREAMING_SNAKE_CASE					)


if __name__ == "__main__":
   print(solution())