


from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_tf_available,
    is_torch_available,
    is_vision_available,
)


_snake_case				=			{
    "configuration_segformer": ["SEGFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP", "SegformerConfig", "SegformerOnnxConfig"]
}

try:
      if not is_vision_available():
            raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
      pass
else:
      _snake_case				=			["SegformerFeatureExtractor"]
      _snake_case				=			["SegformerImageProcessor"]

try:
      if not is_torch_available():
            raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
      pass
else:
      _snake_case				=			[
          "SEGFORMER_PRETRAINED_MODEL_ARCHIVE_LIST",
          "SegformerDecodeHead",
          "SegformerForImageClassification",
          "SegformerForSemanticSegmentation",
          "SegformerLayer",
          "SegformerModel",
          "SegformerPreTrainedModel",
      ]

try:
      if not is_tf_available():
            raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
      pass
else:
      _snake_case				=			[
          "TF_SEGFORMER_PRETRAINED_MODEL_ARCHIVE_LIST",
          "TFSegformerDecodeHead",
          "TFSegformerForImageClassification",
          "TFSegformerForSemanticSegmentation",
          "TFSegformerModel",
          "TFSegformerPreTrainedModel",
      ]


if TYPE_CHECKING:
      from .configuration_segformer import SEGFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP, SegformerConfig, SegformerOnnxConfig

      try:
            if not is_vision_available():
                  raise OptionalDependencyNotAvailable()
      except OptionalDependencyNotAvailable:
            pass
      else:
            from .feature_extraction_segformer import SegformerFeatureExtractor
            from .image_processing_segformer import SegformerImageProcessor

      try:
            if not is_torch_available():
                  raise OptionalDependencyNotAvailable()
      except OptionalDependencyNotAvailable:
            pass
      else:
            from .modeling_segformer import (
                SEGFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
                SegformerDecodeHead,
                SegformerForImageClassification,
                SegformerForSemanticSegmentation,
                SegformerLayer,
                SegformerModel,
                SegformerPreTrainedModel,
            )
      try:
            if not is_tf_available():
                  raise OptionalDependencyNotAvailable()
      except OptionalDependencyNotAvailable:
            pass
      else:
            from .modeling_tf_segformer import (
                TF_SEGFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
                TFSegformerDecodeHead,
                TFSegformerForImageClassification,
                TFSegformerForSemanticSegmentation,
                TFSegformerModel,
                TFSegformerPreTrainedModel,
            )

else:
      import sys

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







def 	A (		A__			):
     UpperCAmelCase    :					Dict			=      9

     while num > 0:
          if num % 1_0 != digit:
               return False
          num //= 1_0_0
          digit -= 1

     return True







def 	A (		):
     UpperCAmelCase    :					Optional[Any]			=      1_3_8_9_0_2_6_6_3

     while not is_square_form(num * num			):
          if num % 1_0 == 3:
               num -= 6  # (3 - 6) % 10 = 7
          else:
               num -= 4  # (7 - 4) % 10 = 3

     return num * 1_0


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



