




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



def      __lowerCAmelCase			(					UpperCamelCase      )     ->	bool:
  lowerCAmelCase__				:  int		       =     0
  lowerCAmelCase__				:  Optional[int]		       =     number
  while duplicate > 0:
    lowerCAmelCase__       ,			lowerCAmelCase__				:  Any		       =     divmod(UpperCamelCase	,      10      )
    fact_sum += factorial(UpperCamelCase      )
  return fact_sum == number


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







import warnings

from diffusers import StableDiffusionInpaintPipeline as StableDiffusionInpaintPipeline  # noqa F401


warnings.warn(
    """The `inpainting.py` script is outdated. Please use directly `from diffusers import"""
    """ StableDiffusionInpaintPipeline` instead."""
)

