





"""simple docstring"""





def 			UpperCAmelCase__							(  SCREAMING_SNAKE_CASE     :						int							,						SCREAMING_SNAKE_CASE     :						int			):







      '''simple docstring'''




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


if __name__ == "__main__":
       import doctest

       doctest.testmod()













"""simple docstring"""





from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_sentencepiece_available


SCREAMING_SNAKE_CASE__					=   {}

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

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

else:
       import sys

       SCREAMING_SNAKE_CASE__					=   _LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)






