





'''simple docstring'''




def _lowerCAmelCase     (      _lowerCAmelCase       ,    _lowerCAmelCase    )->     str:
 __UpperCAmelCase					=   len(__snake_case    )
 __UpperCAmelCase					=   len(__snake_case    )
 __UpperCAmelCase					=   (
     first_str_length if first_str_length > second_str_length else second_str_length
 )
 __UpperCAmelCase					=   []
 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=""" """)












'''simple docstring'''




from __future__ import annotations







def _lowerCAmelCase     (      _lowerCAmelCase    )->     int:
 if not nums:
  return 0
 __UpperCAmelCase					=   nums[0]
 __UpperCAmelCase					=   0
 for num in nums[1:]:
  __UpperCAmelCase					,    __UpperCAmelCase					=   (
      max_excluding + num,
      max(_lowerCAmelCase       ,    _lowerCAmelCase    ),
  )
 return max(_lowerCAmelCase       ,    _lowerCAmelCase    )


if __name__ == "__main__":
    import doctest

    doctest.testmod()





