






"""simple docstring"""



import baseaa




def      _lowerCAmelCase		(							UpperCAmelCase__       :					str      )		->bytes:
						return baseaa.baaencode(string.encode("""utf-8"""      )      )




def      _lowerCAmelCase		(							UpperCAmelCase__       :					bytes      )		->str:
						return baseaa.baadecode(UpperCAmelCase__      ).decode("""utf-8"""      )


if __name__ == "__main__":
						A_    =							'''Hello World!'''
						A_    =							baseaa_encode(test)
						print(encoded)

						A_    =							baseaa_decode(encoded)
						print(decoded)














"""simple docstring"""



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

						A__						:  str		  =  str(bin(UpperCAmelCase__      )      )[2:]  # remove the leading "0b"
						A__						:  List[Any]		  =  str(bin(UpperCAmelCase__      )      )[2:]  # remove the leading "0b"

						A__						:  List[str]		  =  max(len(UpperCAmelCase__      ),						len(UpperCAmelCase__      )      )

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


if __name__ == "__main__":
						import doctest

						doctest.testmod()






