"""simple docstring"""




def   UpperCAmelCase					(	UpperCamelCase__				):






							"""simple docstring"""





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






def   UpperCAmelCase					(	UpperCamelCase__				):






							"""simple docstring"""





							A__	     =							0
							A__	     =							number
							while duplicate > 0:
														A__     ,  A__	     =							divmod(a__       ,    10				)
														fact_sum += factorial(a__				)
							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."""
				)






"""simple docstring"""




import warnings

from ...utils import logging
from .image_processing_imagegpt import ImageGPTImageProcessor


__lowerCamelCase											=  logging.get_logger(__name__)
class     UpperCamelCase__(			__A ):





						def __init__(       self		,*__UpperCAmelCase		,**__UpperCAmelCase     )					->				None:
													warnings.warn(
													    'The class ImageGPTFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
													    ' Please use ImageGPTImageProcessor instead.'		,__UpperCAmelCase		,)
													super().__init__(*__UpperCAmelCase		,**__UpperCAmelCase     )





