





"""simple docstring"""





SCREAMING_SNAKE_CASE__ =       10**8


def       UpperCAmelCase__							(  SCREAMING_SNAKE_CASE					:						int      ):







      '''simple docstring'''




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


def       UpperCAmelCase__							(  ):







      '''simple docstring'''




      lowerCAmelCase  						=	set()
      lowerCAmelCase  						=	1
      lowerCAmelCase  						=	5
      while sum_squares < LIMIT:
            lowerCAmelCase  						=	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
            lowerCAmelCase  						=	first_square**2 + (first_square + 1) ** 2

      return sum(SCREAMING_SNAKE_CASE      )


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













"""simple docstring"""





from scipy.constants import g


def       UpperCAmelCase__							(  SCREAMING_SNAKE_CASE					:						float							,						SCREAMING_SNAKE_CASE					:						float      ):







      '''simple docstring'''




      if mass < 0:
            # handling of negative values of mass
            raise ValueError("""The mass of a body cannot be negative"""      )
      if height < 0:
            # handling of negative values of height
            raise ValueError("""The height above the ground cannot be negative"""      )
      return mass * g * height


if __name__ == "__main__":
       from doctest import testmod

       testmod(name="potential_energy")






