






"""simple docstring"""






def 					_A			(__a							) ->       List[str]:
    """simple docstring"""






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



def 					_A			(__a							) ->       Any:
    """simple docstring"""






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










from __future__ import annotations
def 					snake_case_						(   lowerCAmelCase_				:  int				,				lowerCAmelCase_				:  int					):
							if partitions <= 0:
														raise ValueError("""partitions must be a positive number!"""					)
							if partitions > number_of_bytes:
														raise ValueError("""partitions can not > number_of_bytes!"""					)
							__lowercase					:							Dict			=   number_of_bytes // partitions
							__lowercase					:							Union[str, Any]			=   []
							for i in range(lowerCAmelCase_					):
														__lowercase					:							str			=   i * bytes_per_partition + 1
														__lowercase					:							List[Any]			=   (
														    number_of_bytes if i == partitions - 1 else (i + 1) * bytes_per_partition
														)
														allocation_list.append(F"{start_bytes}-{end_bytes}"					)
							return allocation_list


if __name__ == "__main__":
	import doctest

	doctest.testmod()