"""simple docstring"""



def    SCREAMING_SNAKE_CASE       (     snake_case,      snake_case,      snake_case):
     __snake_case				=							(num_of_terms / 2) * (2 * first_term + (num_of_terms - 1) * common_diff)
     # formula for sum of series
     return total





def    SCREAMING_SNAKE_CASE       (     ):
     print(sum_of_series(1,      1,      10))


if __name__ == "__main__":
       import doctest

       doctest.testmod()
"""simple docstring"""



def    SCREAMING_SNAKE_CASE       (     snake_case):
     return 1 if digit in (0, 1) else (digit * factorial(digit - 1))





def    SCREAMING_SNAKE_CASE       (     snake_case):
     __snake_case				=							0
     __snake_case				=							number
     while duplicate > 0:
          __snake_case		,	__snake_case				=							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.")
       __lowercase		:		Optional[int]														=							int(input("Enter number: ").strip())
       print(
           F"""{number} is {'' if krishnamurthy(number) else 'not '}a Krishnamurthy Number."""
       )