






def 						__UpperCAmelCase			(     a_):
							return 1 if digit in (0, 1) else (digit * factorial(digit - 1))





def 						__UpperCAmelCase			(     a_):
							snake_case_				=							0
							snake_case_				=							number
							while duplicate > 0:
														snake_case_			,		snake_case_				=							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.")
	lowercase  							=					int(input("Enter number: ").strip())
	print(
	    f'{number} is {"" if krishnamurthy(number) else "not "}a Krishnamurthy Number.'
	)













import logging
from dataclasses import dataclass, field
from typing import Optional

from seqaseq_trainer import arg_to_scheduler

from transformers import TrainingArguments


lowercase  							=					logging.getLogger(__name__)




@dataclass
class  UpperCamelCase_      (			snake_case_				):



	'''simple docstring'''




	lowerCAmelCase													= field(
	    default=0.0       ,					metadata={'''help''': '''The label smoothing epsilon to apply (if not zero).'''}				)
	lowerCAmelCase													= field(default=snake_case_       ,					metadata={'''help''': '''Whether to SortishSamler or not.'''}				)
	lowerCAmelCase													= field(
	    default=snake_case_       ,					metadata={'''help''': '''Whether to use generate to calculate generative metrics (ROUGE, BLEU).'''}				)
	lowerCAmelCase													= field(default=snake_case_       ,					metadata={'''help''': '''whether to use adafactor'''}				)
	lowerCAmelCase													= field(
	    default=snake_case_       ,					metadata={'''help''': '''Encoder layer dropout probability. Goes into model.config.'''}				)
	lowerCAmelCase													= field(
	    default=snake_case_       ,					metadata={'''help''': '''Decoder layer dropout probability. Goes into model.config.'''}				)
	lowerCAmelCase													= field(default=snake_case_       ,					metadata={'''help''': '''Dropout probability. Goes into model.config.'''}				)
	lowerCAmelCase													= field(
	    default=snake_case_       ,					metadata={'''help''': '''Attention dropout probability. Goes into model.config.'''}				)
	lowerCAmelCase													= field(
	    default='''linear'''       ,					metadata={'''help''': F'''Which lr scheduler to use. Selected in {sorted(arg_to_scheduler.keys()				)}'''}       ,					)





