
"""simple docstring"""





_a									=				10**8







def       __a	(						__lowerCamelCase    ):
   if n % 10 == 0:
      return False
   UpperCAmelCase_   :   Union[str, Any]     	=       str(__lowerCamelCase    )
   return s == s[::-1]







def       __a	(						):
   UpperCAmelCase_   :   List[str]     	=       set()
   UpperCAmelCase_   :   Union[str, Any]     	=       1
   UpperCAmelCase_   :   str     	=       5
   while sum_squares < LIMIT:
      UpperCAmelCase_   :   List[str]     	=       first_square + 1
      while sum_squares < LIMIT:
         if is_palindrome(__lowerCamelCase    ):
            answer.add(__lowerCamelCase    )
         last_square += 1
         sum_squares += last_square**2
      first_square += 1
      UpperCAmelCase_   :   Any     	=       first_square**2 + (first_square + 1) ** 2

   return sum(__lowerCamelCase    )


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







def 						_lowerCAmelCase    (					__lowerCamelCase :  int  ):



 """simple docstring"""





 if not isinstance(__lowerCamelCase		,						__lowerCamelCase  ):
  __SCREAMING_SNAKE_CASE							:     Union[str, Any]							=						(
      "operation can not be conducted on a object of type "
      F"""{type(__lowerCamelCase  ).__name__}"""
  )
  raise TypeError(__lowerCamelCase  )
 __SCREAMING_SNAKE_CASE							:     List[str]							=						""
 for _ in range(0		,						32  ):
  bit_string += str(number % 2  )
  __SCREAMING_SNAKE_CASE							:     Union[str, Any]							=						number >> 1
 return bit_string






def 						_lowerCAmelCase    (					__lowerCamelCase :  int  ):



 """simple docstring"""





 if number < 0:
  raise ValueError("the value of input must be positive"  )
 elif isinstance(__lowerCamelCase		,						__lowerCamelCase  ):
  raise TypeError("Input value must be a 'int' type"  )
 elif isinstance(__lowerCamelCase		,						__lowerCamelCase  ):
  raise TypeError("'<' not supported between instances of 'str' and 'int'"  )
 __SCREAMING_SNAKE_CASE							:     Any							=						0
 # iterator over [1 to 32],since we are dealing with 32 bit integer
 for _ in range(1		,						33  ):
  # left shift the bits by unity
  __SCREAMING_SNAKE_CASE							:     Optional[int]							=						result << 1
  # get the end bit
  __SCREAMING_SNAKE_CASE							:     Union[str, Any]							=						number % 2
  # right shift the bits by unity
  __SCREAMING_SNAKE_CASE							:     Optional[Any]							=						number >> 1
  # add that bit to our ans
  __SCREAMING_SNAKE_CASE							:     Optional[int]							=						result | end_bit
 return get_reverse_bit_string(__lowerCamelCase  )


if __name__ == "__main__":
      import doctest

      doctest.testmod()






