





"""simple docstring"""






from __future__ import annotations






def 	snake_case_  (				A_ :		int						):


       '''simple docstring'''





       _lowerCamelCase						:    List[str]         =			[True] * limit
       _lowerCamelCase						:    Any         =			False
       _lowerCamelCase						:    Optional[Any]         =			False
       _lowerCamelCase						:    Optional[Any]         =			True

       for i in range(3,    int(limit**0.5 + 1						),    2						):
              _lowerCamelCase						:    int         =			i * 2
              while index < limit:
                     _lowerCamelCase						:    Any         =			False
                     _lowerCamelCase						:    Optional[Any]         =			index + i

       _lowerCamelCase						:    Optional[int]         =			[2]

       for i in range(3,    _A,    2						):
              if is_prime[i]:
                     primes.append(_A						)

       return primes






def 	snake_case_  (				A_ :		int = 1_00_00_00						):


       '''simple docstring'''





       _lowerCamelCase						:    List[str]         =			prime_sieve(_A						)
       _lowerCamelCase						:    Dict         =			0
       _lowerCamelCase						:    List[Any]         =			0

       for i in range(len(_A						)						):
              for j in range(i + length,    len(_A						)						):
                     _lowerCamelCase						:    int         =			sum(primes[i:j]						)
                     if sol >= ceiling:
                            break

                     if sol in primes:
                            _lowerCamelCase						:    Optional[int]         =			j - i
                            _lowerCamelCase						:    Optional[Any]         =			sol

       return largest


if __name__ == "__main__":
   print(F"""{solution() = }""")







"""simple docstring"""






def 	snake_case_  (				A_ :		int						):


       '''simple docstring'''





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






def 	snake_case_  (				A_ :		int						):


       '''simple docstring'''





       _lowerCamelCase						:    str         =			0
       _lowerCamelCase						:    Any         =			number
       while duplicate > 0:
              _lowerCamelCase      ,   _lowerCamelCase						:    Union[str, Any]         =			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."""
   )


