




'''simple docstring'''




def       _UpperCamelCase					( SCREAMING_SNAKE_CASE__	:					int				):
 '''simple docstring'''





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

def       _UpperCamelCase					( SCREAMING_SNAKE_CASE__	:					int				):
 '''simple docstring'''





 UpperCAmelCase__								=			0
 UpperCAmelCase__								=			number
 while duplicate > 0:
  UpperCAmelCase__							,	UpperCAmelCase__								=			divmod(__lowerCamelCase				,  10				)
  fact_sum += factorial(__lowerCamelCase				)
 return fact_sum == number


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







'''simple docstring'''

from string import ascii_lowercase, ascii_uppercase





def lowerCamelCase						(     __lowerCamelCase :    str    )						->str:
    if not sentence:
        return ""
    _SCREAMING_SNAKE_CASE									=			dict(zip(__lowerCamelCase					,       __lowerCamelCase    )    )
    return lower_to_upper.get(sentence[0]					,       sentence[0]    ) + sentence[1:]


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

      testmod()



