





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

def 				SCREAMING_SNAKE_CASE__							(	snake_case__	:int  )   ->    bool:
  _lowercase						    =			0
  _lowercase						    =			number
  while duplicate > 0:
    _lowercase    ,		_lowercase						    =			divmod(snake_case__      ,				10  )
    fact_sum += factorial(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."""
      )






"""simple docstring"""





def 					__A  (_SCREAMING_SNAKE_CASE	,  _SCREAMING_SNAKE_CASE     )   ->list[str]:





  """simple docstring"""


  return [sentence[i : i + ngram_size] for i in range(len(_SCREAMING_SNAKE_CASE     ) - ngram_size + 1     )]


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

  testmod()
