

'''simple docstring'''

from __future__ import annotations




def 				UpperCamelCase(					UpperCAmelCase_     ):
 if not nums:
  return 0
 UpperCAmelCase	:     Optional[int]						 =			nums[0]
 UpperCAmelCase	:     List[str]						 =			0
 for num in nums[1:]:
  UpperCAmelCase ,			UpperCAmelCase	:     List[str]						 =			(
      max_excluding + num,
      max(UpperCAmelCase_  ,	UpperCAmelCase_     ),
  )
 return max(UpperCAmelCase_  ,	UpperCAmelCase_     )


if __name__ == "__main__":
 import doctest

 doctest.testmod()







'''simple docstring'''

def 				UpperCamelCase(					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=" ")




