





def    __snake_case  (    _lowerCAmelCase       :       List[Any] , _lowerCAmelCase       :       List[str]		)       ->  int:
   return abs(lowerCAmelCase_		) if a == 0 else greatest_common_divisor(b % a , lowerCAmelCase_		)

def    __snake_case  (    _lowerCAmelCase       :       int , _lowerCAmelCase       :       str		)       ->  int:


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

def    __snake_case  (    )       ->  Tuple:


   try:
      A_    : List[str]								=	input("Enter two integers separated by comma (,): "		).split(","		)
      A_    : Tuple								=	int(nums[0]		)
      A_    : Dict								=	int(nums[1]		)
      print(
          f"greatest_common_divisor({num_a}, {num_a}) = "
          f"{greatest_common_divisor(lowerCAmelCase_ , lowerCAmelCase_		)}"		)
      print(f"By iterative gcd({num_a}, {num_a}) = {gcd_by_iterative(lowerCAmelCase_ , lowerCAmelCase_		)}"		)
   except (IndexError, UnboundLocalError, ValueError):
      print("Wrong input"		)


if __name__ == "__main__":
 main()





'''simple docstring'''






import unittest

from transformers import load_tool

from .test_tools_common import ToolTesterMixin



class 							lowercase       (  unittest.TestCase					,					_lowerCamelCase				):


 """simple docstring"""


 def _snake_case (							self							)		->   Any:
        _UpperCAmelCase  :						int			     = load_tool("""text-classification"""							)
        self.tool.setup()
        _UpperCAmelCase  :						Tuple			     = load_tool("""text-classification"""  ,remote=a_							)







 def _snake_case (							self							)		->   Union[str, Any]:
        _UpperCAmelCase  :						Tuple			     = self.tool("""That's quite cool"""  ,["""positive""", """negative"""]							)
        self.assertEqual(a_  ,"""positive"""							)







 def _snake_case (							self							)		->   Any:
        _UpperCAmelCase  :						Dict			     = self.remote_tool("""That's quite cool"""  ,["""positive""", """negative"""]							)
        self.assertEqual(a_  ,"""positive"""							)







 def _snake_case (							self							)		->   str:
        _UpperCAmelCase  :						List[Any]			     = self.tool(text="""That's quite cool"""  ,labels=["""positive""", """negative"""]							)
        self.assertEqual(a_  ,"""positive"""							)







 def _snake_case (							self							)		->   Union[str, Any]:
        _UpperCAmelCase  :						Any			     = self.remote_tool(text="""That's quite cool"""  ,labels=["""positive""", """negative"""]							)
        self.assertEqual(a_  ,"""positive"""							)



