




"""simple docstring"""







def 						snake_case__       (					_lowerCamelCase,  _lowerCamelCase				)			->Dict:






  """simple docstring"""


  return number | (1 << position)

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






  """simple docstring"""


  return number & ~(1 << position)

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






  """simple docstring"""


  return number ^ (1 << position)

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






  """simple docstring"""


  return ((number >> position) & 1) == 1

def 						snake_case__       (					_lowerCamelCase,  _lowerCamelCase				)			->Any:






  """simple docstring"""


  return int((number & (1 << position)) != 0				)


if __name__ == "__main__":
      import doctest

      doctest.testmod()






"""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()
