





'''simple docstring'''






def 					_a   (__SCREAMING_SNAKE_CASE  ,      __SCREAMING_SNAKE_CASE = " "   ):


  """simple docstring"""

  _UpperCamelCase       			=[]

  _UpperCamelCase       			=0
  for index, char in enumerate(__SCREAMING_SNAKE_CASE   ):
    if char == separator:
      split_words.append(string[last_index:index]   )
      _UpperCamelCase       			=index + 1
    elif index + 1 == len(__SCREAMING_SNAKE_CASE   ):
      split_words.append(string[last_index : index + 1]   )
  return split_words


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

      testmod()








'''simple docstring'''






def 					_a   (__SCREAMING_SNAKE_CASE   ):


  """simple docstring"""

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


def 					_a   (__SCREAMING_SNAKE_CASE   ):


  """simple docstring"""

  _UpperCamelCase       			=0
  _UpperCamelCase       			=number
  while duplicate > 0:
    _UpperCamelCase			,     _UpperCamelCase       			=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.')
      __lowerCamelCase						: Optional[Any]		=   int(input('Enter number: ').strip())
      print(
          F"""{number} is {'' if krishnamurthy(number) else 'not '}a Krishnamurthy Number."""
      )






