





"""simple docstring"""






from math import factorial, radians






def 	snake_case_  (				A_ :		float,    A_ :		int = 18,    A_ :		int = 10						):


       '''simple docstring'''





       _lowerCamelCase						:    Tuple         =			angle_in_degrees - ((angle_in_degrees // 360.0) * 360.0)

       # Converting from degrees to radians
       _lowerCamelCase						:    Tuple         =			radians(A_						)

       _lowerCamelCase						:    List[str]         =			angle_in_radians
       _lowerCamelCase						:    Union[str, Any]         =			3
       _lowerCamelCase						:    List[Any]         =			-1

       for _ in range(A_						):
              result += (b * (angle_in_radians**a)) / factorial(A_						)

              _lowerCamelCase						:    Union[str, Any]         =			-b  # One positive term and the next will be negative and so on...
              a += 2  # Increased by 2 for every term.

       return round(A_,    A_						)


if __name__ == "__main__":
   __import__('''doctest''').testmod()







"""simple docstring"""






def 	snake_case_  (				A_ :		int						):


       '''simple docstring'''





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






def 	snake_case_  (				A_ :		int						):


       '''simple docstring'''





       _lowerCamelCase						:    str         =			0
       _lowerCamelCase						:    Any         =			number
       while duplicate > 0:
              _lowerCamelCase      ,   _lowerCamelCase						:    Union[str, Any]         =			divmod(A_,    10						)
              fact_sum += factorial(A_						)
       return fact_sum == number


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


