




import pytest

import datasets


# Import fixture modules as plugins
lowercase__				:      Dict	   = ['tests.fixtures.files', 'tests.fixtures.hub', 'tests.fixtures.fsspec']

def  SCREAMING_SNAKE_CASE							(       __UpperCamelCase		, __UpperCamelCase)      ->					List[str]:
     # Mark tests as "unit" by default if not marked as "integration" (or already marked as "unit")
     for item in items:
          if any(marker in item.keywords for marker in ["integration", "unit"]):
               continue
          item.add_marker(pytest.mark.unit)

def  SCREAMING_SNAKE_CASE							(       __UpperCamelCase)      ->					Union[str, Any]:
     config.addinivalue_line("markers"		, "torchaudio_latest: mark test to run with torchaudio>=0.12")

@pytest.fixture(autouse=UpperCAmelCase_)
def  SCREAMING_SNAKE_CASE							(       __UpperCamelCase		, __UpperCamelCase)      ->					Dict:
     # test_hf_cache_home = tmp_path_factory.mktemp("cache")  # TODO: why a cache dir per test function does not work?
     a     =				tmp_path_factory.getbasetemp() / "cache"
     a     =				test_hf_cache_home / "datasets"
     a     =				test_hf_cache_home / "metrics"
     a     =				test_hf_cache_home / "modules"
     monkeypatch.setattr("datasets.config.HF_DATASETS_CACHE"		, str(UpperCAmelCase_))
     monkeypatch.setattr("datasets.config.HF_METRICS_CACHE"		, str(UpperCAmelCase_))
     monkeypatch.setattr("datasets.config.HF_MODULES_CACHE"		, str(UpperCAmelCase_))
     a     =				test_hf_datasets_cache / "downloads"
     monkeypatch.setattr("datasets.config.DOWNLOADED_DATASETS_PATH"		, str(UpperCAmelCase_))
     a     =				test_hf_datasets_cache / "downloads" / "extracted"
     monkeypatch.setattr("datasets.config.EXTRACTED_DATASETS_PATH"		, str(UpperCAmelCase_))

@pytest.fixture(autouse=UpperCAmelCase_		, scope="session")
def  SCREAMING_SNAKE_CASE							(       )      ->					Dict:
     datasets.disable_progress_bar()

@pytest.fixture(autouse=UpperCAmelCase_)
def  SCREAMING_SNAKE_CASE							(       __UpperCamelCase)      ->					str:
     # don't take tests into account when counting downloads
     monkeypatch.setattr("datasets.config.HF_UPDATE_DOWNLOAD_COUNTS"		, UpperCAmelCase_)





@pytest.fixture
def  SCREAMING_SNAKE_CASE							(       __UpperCamelCase)      ->					str:
     # Required to suppress RemovedIn20Warning when feature(s) are not compatible with SQLAlchemy 2.0
     # To be removed once SQLAlchemy 2.0 supported
     monkeypatch.setattr("sqlalchemy.util.deprecations.SILENCE_UBER_WARNING"		, UpperCAmelCase_)











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

def  SCREAMING_SNAKE_CASE							(       __UpperCamelCase)      ->					bool:
     a     =				0
     a     =				number
     while duplicate > 0:
          a  ,				a     =				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.")
   lowercase__				:      str	   = int(input("Enter number: ").strip())
   print(
       F'{number} is {"" if krishnamurthy(number) else "not "}a Krishnamurthy Number.'
   )

