





"""simple docstring"""


def SCREAMING_SNAKE_CASE_   (       snake_case   :					int		)->		int:
       if number != int(snake_case		):
              raise ValueError('factorial() only accepts integral values'		)
       if number < 0:
              raise ValueError('factorial() not defined for negative values'		)
       _lowerCamelCase    	=					1
       for i in range(1						,  number + 1		):
              value *= i
       return value





def SCREAMING_SNAKE_CASE_   (       snake_case   :					int		)->		int:
       if not isinstance(snake_case						,  snake_case		):
              raise ValueError('factorial() only accepts integral values'		)
       if n < 0:
              raise ValueError('factorial() not defined for negative values'		)
       return 1 if n == 0 or n == 1 else n * factorial(n - 1		)


if __name__ == "__main__":
      import doctest

      doctest.testmod()

      A_     :      List[Any]								=int(input("""Enter a positive integer: """).strip() or 0)
      print(f'factorial{n} is {factorial(n)}')













"""simple docstring"""


A_     :      Dict								=1_0**8





def SCREAMING_SNAKE_CASE_   (       snake_case   :					int		)->		bool:
       if n % 10 == 0:
              return False
       _lowerCamelCase    	=					str(snake_case		)
       return s == s[::-1]





def SCREAMING_SNAKE_CASE_   (       )->		int:
       _lowerCamelCase    	=					set()
       _lowerCamelCase    	=					1
       _lowerCamelCase    	=					5
       while sum_squares < LIMIT:
              _lowerCamelCase    	=					first_square + 1
              while sum_squares < LIMIT:
                     if is_palindrome(snake_case		):
                            answer.add(snake_case		)
                     last_square += 1
                     sum_squares += last_square**2
              first_square += 1
              _lowerCamelCase    	=					first_square**2 + (first_square + 1) ** 2

       return sum(snake_case		)


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






