



'''simple docstring'''
def A__       (	UpperCAmelCase_    ,    UpperCAmelCase_				):
						_UpperCamelCase   :						int												=  len(UpperCAmelCase_				)
						_UpperCamelCase   :						int												=  len(UpperCAmelCase_				)
						_UpperCamelCase   :						int												=  (
						    first_str_length if first_str_length > second_str_length else second_str_length
						)
						_UpperCamelCase   :						list												=  []
						for char_count in range(UpperCAmelCase_				):
												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(UpperCAmelCase_				)


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







'''simple docstring'''
from pathlib import Path

import fire






def A__       (	UpperCAmelCase_    ,    UpperCAmelCase_    ,    UpperCAmelCase_				):
						_UpperCamelCase   :						int												=  Path(UpperCAmelCase_				)
						_UpperCamelCase   :						str												=  Path(UpperCAmelCase_				)
						dest_dir.mkdir(exist_ok=UpperCAmelCase_				)
						for path in src_dir.iterdir():
												_UpperCamelCase   :						int												=  [x.rstrip() for x in list(path.open().readlines()				)][:n]
												_UpperCamelCase   :						Any												=  dest_dir.joinpath(path.name				)
												print(UpperCAmelCase_				)
												dest_path.open('w'				).write('\n'.join(UpperCAmelCase_				)				)


if __name__ == "__main__":
					fire.Fire(minify)


