


"""simple docstring"""


def _lowerCamelCase			(	_UpperCamelCase					,				_UpperCamelCase   ):

			'''simple docstring'''




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

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

			__lowerCAmelCase       					=    max(len(__A   )					,				len(__A   )   )

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


if __name__ == "__main__":
	import doctest

	doctest.testmod()








"""simple docstring"""


def _lowerCamelCase			(	_UpperCamelCase					,				_UpperCamelCase   ):

			'''simple docstring'''




			__lowerCAmelCase       					=    len(_UpperCamelCase   )
			print("The following activities are selected:"   )

			# The first activity is always selected
			__lowerCAmelCase       					=    0
			print(_UpperCamelCase					,				end=","   )

			# Consider rest of the activities
			for j in range(_UpperCamelCase   ):
						# If this activity has start time greater than
						# or equal to the finish time of previously
						# selected activity, then select it
						if start[j] >= finish[i]:
									print(_UpperCamelCase					,				end=","   )
									__lowerCAmelCase       					=    j


if __name__ == "__main__":
	import doctest

	doctest.testmod()

	A  :     Dict    					=    [1, 3, 0, 5, 8, 5]
	A  :     int    					=    [2, 4, 6, 7, 9, 9]
	print_max_activities(start, finish)




