




"""simple docstring"""







def 						snake_case__       (					_lowerCamelCase,  _lowerCamelCase				)			->Optional[Any]:






  """simple docstring"""


  return abs(__snake_case				) if a == 0 else greatest_common_divisor(b % a,  __snake_case				)

def 						snake_case__       (					_lowerCamelCase,  _lowerCamelCase				)			->List[Any]:






  """simple docstring"""


  while y:  # --> when y=0 then loop will terminate and return x as final GCD.
    __lowercase						,__lowercase				:		Dict												=				y, x % y
  return abs(__snake_case				)

def 						snake_case__       (					)			->List[str]:






  """simple docstring"""


  try:
    __lowercase				:		int												=				input("Enter two integers separated by comma (,): "				).split(","				)
    __lowercase				:		Union[str, Any]												=				int(nums[0]				)
    __lowercase				:		int												=				int(nums[1]				)
    print(
        F'greatest_common_divisor({num_a}, {num_a}) = '
        F'{greatest_common_divisor(__snake_case,  __snake_case				)}'				)
    print(F'By iterative gcd({num_a}, {num_a}) = {gcd_by_iterative(__snake_case,  __snake_case				)}'				)
  except (IndexError, UnboundLocalError, ValueError):
    print("Wrong input"				)


if __name__ == "__main__":
      main()






"""simple docstring"""







def 						snake_case__       (					_lowerCamelCase,  _lowerCamelCase				)			->int:






		"""simple docstring"""


		return abs(_lowerCamelCase				) if a == 0 else greatest_common_divisor(b % a,  _lowerCamelCase				)

def 						snake_case__       (					_lowerCamelCase,  _lowerCamelCase				)			->int:






		"""simple docstring"""


		while y:  # --> when y=0 then loop will terminate and return x as final GCD.
				__lowercase						,__lowercase				:		Any												=				y, x % y
		return abs(_lowerCamelCase				)

def 						snake_case__       (					)			->Optional[int]:






		"""simple docstring"""


		try:
				__lowercase				:		Optional[int]												=				input("Enter two integers separated by comma (,): "				).split(","				)
				__lowercase				:		Optional[Any]												=				int(nums[0]				)
				__lowercase				:		str												=				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()
