
def 				a						(							snake_case__:					str						,   snake_case__:					str					):


				'''simple docstring'''
				lowercase_       =					len(snake_case__					)
				lowercase_       =					len(snake_case__					)
				lowercase_       =					(
				    first_str_length if first_str_length > second_str_length else second_str_length
				)
				lowercase_       =					[]
				for char_count in range(snake_case__					):
								if char_count < first_str_length:
												output_list.append(first_str[char_count]					)
								if char_count < second_str_length:
												output_list.append(second_str[char_count]					)
				return "".join(snake_case__					)


if __name__ == "__main__":
						print(alternative_string_arrange('AB', 'XYZ'), end=' ')






def 				a						(							snake_case__:					list						,   snake_case__:					list						,   snake_case__:					int						,   snake_case__:					int						,   snake_case__:					int					):


				'''simple docstring'''
				if index == number_of_items:
								return 0
				lowercase_       =					0
				lowercase_       =					0
				lowercase_       =					knapsack(snake_case__						,   snake_case__						,   snake_case__						,   snake_case__						,   index + 1					)
				if weights[index] <= max_weight:
								lowercase_       =					values[index] + knapsack(
								    snake_case__						,   snake_case__						,   snake_case__						,   max_weight - weights[index]						,   index + 1					)
				return max(snake_case__						,   snake_case__					)


if __name__ == "__main__":
						import doctest

						doctest.testmod()




