




"""simple docstring"""



def   _SCREAMING_SNAKE_CASE       (							lowercase_						)						->		int:
 return 1 if digit in (0, 1) else (digit * factorial(digit - 1						))







def   _SCREAMING_SNAKE_CASE       (							lowercase_						)						->		bool:
 A__	=    0
 A__	=    number
 while duplicate > 0:
  A__,				A__	=    divmod(lowercase_      ,			10						)
  fact_sum += factorial(lowercase_						)
 return fact_sum == number


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











"""simple docstring"""



import baseaa







def   _SCREAMING_SNAKE_CASE       (							lowercase_						)						->		bytes:
 return baseaa.aaaencode(string.encode("utf-8"						)						)







def   _SCREAMING_SNAKE_CASE       (							lowercase_						)						->		str:
 return baseaa.aaadecode(lowercase_						).decode("utf-8"						)


if __name__ == "__main__":
      import doctest

      doctest.testmod()





