


"""simple docstring"""






from __future__ import annotations

import sys
def    A_ ( _lowerCAmelCase  :       int,  _lowerCAmelCase  :       int							):






     """simple docstring"""

     if abs(_lowerCAmelCase							) == 1:
          return a, 0
     elif abs(_lowerCAmelCase							) == 1:
          return 0, b

     _a						,   _a     						=					a, b
     _a						,   _a     						=					1, 0
     _a						,   _a     						=					0, 1

     while remainder != 0:
          _a     						=					old_remainder // remainder
          _a						,   _a     						=					remainder, old_remainder - quotient * remainder
          _a						,   _a     						=					coeff_a, old_coeff_a - quotient * coeff_a
          _a						,   _a     						=					coeff_b, old_coeff_b - quotient * coeff_b

     # sign correction for negative numbers
     if a < 0:
          _a     						=					-old_coeff_a
     if b < 0:
          _a     						=					-old_coeff_b

     return old_coeff_a, old_coeff_b
def    A_ ( ):






     """simple docstring"""

     if len(sys.argv							) < 3:
          print('''2 integer arguments required'''							)
          return 1
     _a     						=					int(sys.argv[1]							)
     _a     						=					int(sys.argv[2]							)
     print(extended_euclidean_algorithm(_lowerCAmelCase,  _lowerCAmelCase							)							)
     return 0


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



"""simple docstring"""






def    A_ ( _lowerCAmelCase  :       str							):






     """simple docstring"""

     return "".join(chr(ord(_lowerCAmelCase							) + 32							) if '''A''' <= char <= '''Z''' else char for char in word							)


if __name__ == "__main__":
   from doctest import testmod

   testmod()