code: from __future__ import annotations
  
  import sys
  
  
  def SCREAMING_SNAKE_CASE				(     lowercase_:	int		,						lowercase_:	int				):
         # base cases
         if abs(lowercase_				) == 1:
                return a, 0
         elif abs(lowercase_				) == 1:
                return 0, b
  
         _UpperCamelCase						,      _UpperCamelCase     :       Tuple  						=  a, b
         _UpperCamelCase						,      _UpperCamelCase     :       Tuple  						=  1, 0
         _UpperCamelCase						,      _UpperCamelCase     :       Any  						=  0, 1
  
         while remainder != 0:
                _UpperCamelCase     :       Tuple  						=  old_remainder // remainder
                _UpperCamelCase						,      _UpperCamelCase     :       List[Any]  						=  remainder, old_remainder - quotient * remainder
                _UpperCamelCase						,      _UpperCamelCase     :       Union[str, Any]  						=  coeff_a, old_coeff_a - quotient * coeff_a
                _UpperCamelCase						,      _UpperCamelCase     :       Optional[Any]  						=  coeff_b, old_coeff_b - quotient * coeff_b
  
         # sign correction for negative numbers
         if a < 0:
                _UpperCamelCase     :       Optional[Any]  						=  -old_coeff_a
         if b < 0:
                _UpperCamelCase     :       str  						=  -old_coeff_b
  
         return old_coeff_a, old_coeff_b
  
  
  def SCREAMING_SNAKE_CASE				(     ):
         if len(sys.argv				) < 3:
                print('2 integer arguments required'				)
                return 1
         _UpperCamelCase     :       List[Any]  						=  int(sys.argv[1]				)
         _UpperCamelCase     :       Tuple  						=  int(sys.argv[2]				)
         print(extended_euclidean_algorithm(lowercase_		,						lowercase_				)				)
         return 0
  
  
  if __name__ == "__main__":
   raise SystemExit(main())
  
  
  
  
style_context: from .chunk_utils import chunk_layer
  from .data_transforms import make_atomaa_masks
  from .feats import atomaa_to_atomaa, frames_and_literature_positions_to_atomaa_pos, torsion_angles_to_frames
  from .loss import compute_predicted_aligned_error, compute_tm
  from .protein import Protein as OFProtein
  from .protein import to_pdb
  from .rigid_utils import Rigid, Rotation
  from .tensor_utils import dict_multimap, flatten_final_dims, permute_final_dims
  
  
  
  