



from __future__ import annotations

import sys





def 						__lowerCamelCase       (      __magic_name__	:  int     , __magic_name__	:  int						):
							# base cases
							if abs(__magic_name__						) == 1:
														return a, 0
							elif abs(__magic_name__						) == 1:
														return 0, b

							a__:       int											=a, b
							a__:       int											=1, 0
							a__:       Any											=0, 1

							while remainder != 0:
														a__:       str											=old_remainder // remainder
														a__:       str											=remainder, old_remainder - quotient * remainder
														a__:       Dict											=coeff_a, old_coeff_a - quotient * coeff_a
														a__:       List[str]											=coeff_b, old_coeff_b - quotient * coeff_b

							# sign correction for negative numbers
							if a < 0:
														a__:       str											=-old_coeff_a
							if b < 0:
														a__:       Optional[int]											=-old_coeff_b

							return old_coeff_a, old_coeff_b





def 						__lowerCamelCase       (      ):
							if len(sys.argv						) < 3:
														print("2 integer arguments required"						)
														return 1
							a__:       Optional[Any]											=int(sys.argv[1]						)
							a__:       str											=int(sys.argv[2]						)
							print(extended_euclidean_algorithm(__magic_name__     , __magic_name__						)						)
							return 0


if __name__ == "__main__":
		raise SystemExit(main())











from ...utils import is_transformers_available
from .pipeline_latent_diffusion_superresolution import LDMSuperResolutionPipeline


if is_transformers_available():
		from .pipeline_latent_diffusion import LDMBertModel, LDMTextToImagePipeline





