

import math

def      snake_case__      (   SCREAMING_SNAKE_CASE_		:   float     ,					SCREAMING_SNAKE_CASE_		:   float      ):



     '''simple docstring'''





     return math.pow(SCREAMING_SNAKE_CASE_     ,					2      ) - a

def      snake_case__      (   SCREAMING_SNAKE_CASE_		:   float      ):



     '''simple docstring'''





     return 2 * x

def      snake_case__      (   SCREAMING_SNAKE_CASE_		:   float      ):



     '''simple docstring'''





     lowercase__   :       Union[str, Any]				=	2.0

     while start <= a:
          lowercase__   :       Tuple				=	math.pow(SCREAMING_SNAKE_CASE_     ,					2      )

     return start

def      snake_case__      (   SCREAMING_SNAKE_CASE_		:   float     ,					SCREAMING_SNAKE_CASE_		:   int = 9_999     ,					SCREAMING_SNAKE_CASE_		:   float = 0.00_0000_0000_0001      ):



     '''simple docstring'''





     if a < 0:
          raise ValueError('math domain error'      )

     lowercase__   :       Optional[int]				=	get_initial_point(SCREAMING_SNAKE_CASE_      )

     for _ in range(SCREAMING_SNAKE_CASE_      ):
          lowercase__   :       Dict				=	value
          lowercase__   :       List[Any]				=	value - fx(SCREAMING_SNAKE_CASE_     ,					SCREAMING_SNAKE_CASE_      ) / fx_derivative(SCREAMING_SNAKE_CASE_      )
          if abs(prev_value - value      ) < tolerance:
               return value

     return value


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

       testmod()




def      snake_case__      (   SCREAMING_SNAKE_CASE_		:   int      ):



     '''simple docstring'''





     return 1 if digit in (0, 1) else (digit * factorial(digit - 1      ))

def      snake_case__      (   SCREAMING_SNAKE_CASE_		:   int      ):



     '''simple docstring'''





     lowercase__   :       List[str]				=	0
     lowercase__   :       Optional[int]				=	number
     while duplicate > 0:
          lowercase__				,			lowercase__   :       Tuple				=	divmod(SCREAMING_SNAKE_CASE_     ,					10      )
          fact_sum += factorial(SCREAMING_SNAKE_CASE_      )
     return fact_sum == number


if __name__ == "__main__":
       print('''Program to check whether a number is a Krisnamurthy Number or not.''')
       snake_case_        =			int(input('''Enter number: ''').strip())
       print(
           F'''{number} is {'' if krishnamurthy(number) else 'not '}a Krishnamurthy Number.'''
       )

