
"""simple docstring"""





from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


_a								=						{
    'configuration_instructblip': [
        'INSTRUCTBLIP_PRETRAINED_CONFIG_ARCHIVE_MAP',
        'InstructBlipConfig',
        'InstructBlipQFormerConfig',
        'InstructBlipVisionConfig',
    ],
    'processing_instructblip': ['InstructBlipProcessor'],
}

try:
				if not is_torch_available():
								raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
				pass
else:
				_a								=						[
				    'INSTRUCTBLIP_PRETRAINED_MODEL_ARCHIVE_LIST',
				    'InstructBlipQFormerModel',
				    'InstructBlipPreTrainedModel',
				    'InstructBlipForConditionalGeneration',
				    'InstructBlipVisionModel',
				]

if TYPE_CHECKING:
				from .configuration_instructblip import (
				    INSTRUCTBLIP_PRETRAINED_CONFIG_ARCHIVE_MAP,
				    InstructBlipConfig,
				    InstructBlipQFormerConfig,
				    InstructBlipVisionConfig,
				)
				from .processing_instructblip import InstructBlipProcessor

				try:
								if not is_torch_available():
												raise OptionalDependencyNotAvailable()
				except OptionalDependencyNotAvailable:
								pass
				else:
								from .modeling_instructblip import (
								    INSTRUCTBLIP_PRETRAINED_MODEL_ARCHIVE_LIST,
								    InstructBlipForConditionalGeneration,
								    InstructBlipPreTrainedModel,
								    InstructBlipQFormerModel,
								    InstructBlipVisionModel,
								)

else:
				import sys

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














def  a__ (__lowercase							:int					,  __lowercase							:int   )		-> int:
				return abs(__lowercase   ) if a == 0 else greatest_common_divisor(b % a					,  __lowercase   )



def  a__ (__lowercase							:int					,  __lowercase							:int   )		-> int:
				while y:  # --> when y=0 then loop will terminate and return x as final GCD.
								_A  ,				_A	:				Union[str, Any]   =      y, x % y
				return abs(__lowercase   )



def  a__ ()		-> Optional[Any]:
				try:
								_A	:				Optional[Any]   =      input('''Enter two integers separated by comma (,): '''   ).split(''','''   )
								_A	:				List[Any]   =      int(nums[0]   )
								_A	:				Optional[int]   =      int(nums[1]   )
								print(
								    f"""greatest_common_divisor({num_a}, {num_a}) = """
								    f"""{greatest_common_divisor(__lowercase					,  __lowercase   )}"""   )
								print(f"""By iterative gcd({num_a}, {num_a}) = {gcd_by_iterative(__lowercase					,  __lowercase   )}"""   )
				except (IndexError, UnboundLocalError, ValueError):
								print('''Wrong input'''   )


if __name__ == "__main__":
	main()



