






"""simple docstring"""





def      __lowercase       (     a			:					int							,		a			:					Optional[Any]			)       ->       Dict:
      if n == 0:
            return 1

      elif n % 2 == 1:
            return binary_exponentiation(a							,		n - 1			) * a

      else:
            __snake_case   :     Optional[int]	      =binary_exponentiation(a							,		n / 2			)
            return b * b


if __name__ == "__main__":
    try:
        UpperCamelCase_						:					Optional[Any]      				=			int(input("""Enter Base : """).strip())
        UpperCamelCase_						:					Dict      				=			int(input("""Enter Power : """).strip())
    except ValueError:
        print("""Invalid literal for integer""")

    UpperCamelCase_						:					Dict      				=			binary_exponentiation(BASE, POWER)
    print(F'''{BASE}^({POWER}) : {RESULT}''')










"""simple docstring"""





from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available


UpperCamelCase_						:					Tuple      				=			{"""configuration_detr""": ["""DETR_PRETRAINED_CONFIG_ARCHIVE_MAP""", """DetrConfig""", """DetrOnnxConfig"""]}

try:
    if not is_vision_available():
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    pass
else:
    UpperCamelCase_						:					Tuple      				=			["""DetrFeatureExtractor"""]
    UpperCamelCase_						:					int      				=			["""DetrImageProcessor"""]

try:
    if not is_torch_available():
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    pass
else:
    UpperCamelCase_						:					Dict      				=			[
        """DETR_PRETRAINED_MODEL_ARCHIVE_LIST""",
        """DetrForObjectDetection""",
        """DetrForSegmentation""",
        """DetrModel""",
        """DetrPreTrainedModel""",
    ]


if TYPE_CHECKING:
    from .configuration_detr import DETR_PRETRAINED_CONFIG_ARCHIVE_MAP, DetrConfig, DetrOnnxConfig

    try:
        if not is_vision_available():
            raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
        pass
    else:
        from .feature_extraction_detr import DetrFeatureExtractor
        from .image_processing_detr import DetrImageProcessor

    try:
        if not is_torch_available():
            raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
        pass
    else:
        from .modeling_detr import (
            DETR_PRETRAINED_MODEL_ARCHIVE_LIST,
            DetrForObjectDetection,
            DetrForSegmentation,
            DetrModel,
            DetrPreTrainedModel,
        )

else:
    import sys

    UpperCamelCase_						:					List[str]      				=			_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)


