






def 					lowercase_ (    __snake_case     :							str	,	__snake_case     :							Any      )     -> str:





				'''simple docstring'''


				if a < 0 or b < 0:
								raise ValueError("the value of both inputs must be positive"      )
				snake_case__      :Dict         =   str(bin(lowerCamelCase__      )      )[2:]  # remove the leading "0b"
				snake_case__      :List[Any]         =   str(bin(lowerCamelCase__      )      )[2:]
				snake_case__      :Optional[Any]         =   max(len(lowerCamelCase__      )	,	len(lowerCamelCase__      )      )
				return "0b" + "".join(
				    str(int("1" in (char_a, char_b)      )      )
				    for char_a, char_b in zip(a_binary.zfill(lowerCamelCase__      )	,	b_binary.zfill(lowerCamelCase__      )      )      )


if __name__ == "__main__":
	import doctest

	doctest.testmod()







from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_sentencepiece_available


__UpperCAmelCase							:   Tuple							=  {}

try:
	if not is_sentencepiece_available():
		raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
	pass
else:
	__UpperCAmelCase							:   List[Any]							=  ["BartphoTokenizer"]

if TYPE_CHECKING:
	try:
		if not is_sentencepiece_available():
			raise OptionalDependencyNotAvailable()
	except OptionalDependencyNotAvailable:
		pass
	else:
		from .tokenization_bartpho import BartphoTokenizer

else:
	import sys

	__UpperCAmelCase							:   Tuple							=  _LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)