

'''simple docstring'''

UpperCAmelCase				   =  10**8

def 				__UpperCamelCase							(	lowercase__						:  int ):






     '''simple docstring'''





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

def 				__UpperCamelCase							(	):






     '''simple docstring'''





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

     return sum(lowercase__ )


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





'''simple docstring'''

from __future__ import annotations

def 				__UpperCamelCase							(	lowercase__						:  list[int | float],					lowercase__						:  int,					lowercase__						:  int ):






     '''simple docstring'''





     if len(lowercase__ ) == 0:
          raise ValueError('find_min() arg is an empty sequence' )
     if (
         left >= len(lowercase__ )
         or left < -len(lowercase__ )
         or right >= len(lowercase__ )
         or right < -len(lowercase__ )
     ):
          raise IndexError('list index out of range' )
     if left == right:
          return nums[left]
     __lowercase					=(left + right) >> 1  # the middle
     __lowercase					=find_min(lowercase__,					lowercase__,					lowercase__ )  # find min in range[left, mid]
     __lowercase					=find_min(lowercase__,					mid + 1,					lowercase__ )  # find min in range[mid + 1, right]

     return left_min if left_min <= right_min else right_min


if __name__ == "__main__":
       import doctest

       doctest.testmod(verbose=True)


