



'''simple docstring'''





def 						__snake_case(				_lowerCAmelCase		)		-> int:
      if divisor % 5 == 0 or divisor % 2 == 0:
            return 0
      snake_case__  :    List[Any]    						=      1
      snake_case__  :    List[str]    						=      1
      while repunit:
            snake_case__  :    int    						=      (10 * repunit + 1) % divisor
            repunit_index += 1
      return repunit_index





def 						__snake_case(				_lowerCAmelCase = 1_000_000		)		-> int:
      snake_case__  :    str    						=      limit - 1
      if divisor % 2 == 0:
            divisor += 1
      while least_divisible_repunit(_lowerCAmelCase		) <= limit:
            divisor += 2
      return divisor


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





'''simple docstring'''





from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


__a          =		{
    "configuration_timesformer": ["TIMESFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP", "TimesformerConfig"],
}

try:
       if not is_torch_available():
              raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
       pass
else:
       __a          =		[
           "TIMESFORMER_PRETRAINED_MODEL_ARCHIVE_LIST",
           "TimesformerModel",
           "TimesformerForVideoClassification",
           "TimesformerPreTrainedModel",
       ]

if TYPE_CHECKING:
       from .configuration_timesformer import TIMESFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP, TimesformerConfig

       try:
              if not is_torch_available():
                     raise OptionalDependencyNotAvailable()
       except OptionalDependencyNotAvailable:
              pass
       else:
              from .modeling_timesformer import (
                  TIMESFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
                  TimesformerForVideoClassification,
                  TimesformerModel,
                  TimesformerPreTrainedModel,
              )

else:
       import sys

       __a          =		_LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)
