"""simple docstring"""


def  __snake_case       (   UpperCamelCase__ ,			UpperCamelCase__	)      ->		str:







		"""simple docstring"""





		if a < 0 or b < 0:
				raise ValueError('the value of both inputs must be positive'	)

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

		A					       = 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()









"""simple docstring"""


from __future__ import annotations







def  __snake_case       (   UpperCamelCase__	)      ->		int:







		"""simple docstring"""





		if not nums:
				return 0
		A					       = nums[0]
		A					       = 0
		for num in nums[1:]:
				A       , A					       = (
				    max_excluding + num,
				    max(UpperCamelCase__ ,			UpperCamelCase__	),
				)
		return max(UpperCamelCase__ ,			UpperCamelCase__	)


if __name__ == "__main__":
	import doctest

	doctest.testmod()





