




def 						__A						(      __lowerCamelCase				,     __lowerCamelCase       ) ->			str:
	if a < 0 or b < 0:
		raise ValueError("""the value of both inputs must be positive"""       )

	a									=				str(bin(__lowerCamelCase       )       )[2:]  # remove the leading "0b"
	a									=				str(bin(__lowerCamelCase       )       )[2:]  # remove the leading "0b"

	a									=				max(len(__lowerCamelCase       )				,     len(__lowerCamelCase       )       )

	return "0b" + "".join(
	    str(int(char_a == """1""" and char_b == """1"""       )       )
	    for char_a, char_b in zip(a_binary.zfill(__lowerCamelCase       )				,     b_binary.zfill(__lowerCamelCase       )       )       )


if __name__ == "__main__":
		import doctest

		doctest.testmod()







import warnings

from ...utils import logging
from .image_processing_layoutlmva import LayoutLMvaImageProcessor


__UpperCamelCase   :			Optional[int]          = logging.get_logger(__name__)

class 						__lowerCAmelCase      (      __magic_name__					):
							def __init__(		self		:Union[str, Any]						, *__magic_name__		:int						, **__magic_name__		:str							):







								'''simple docstring'''







								warnings.warn(
								    """The class LayoutLMv2FeatureExtractor is deprecated and will be removed in version 5 of Transformers."""
								    """ Please use LayoutLMv2ImageProcessor instead."""						, __magic_name__						, )
								super().__init__(*__magic_name__						, **__magic_name__							)

