
    Calculate the total cargo capacity of high-capacity delivery vehicles (represented by even IDs) that are scheduled during peak hours (represented by even-indexed time slots) to optimize fleet deployment. Given a list of delivery vehicle IDs arranged by hourly time slots, determine the combined capacity by summing only the even-numbered IDs that appear at even-indexed positions in the schedule.
    

    
def sum_even_and_even_index(arr):
    """
    Calculate the total cargo capacity of high-capacity delivery vehicles (represented by even IDs) that are scheduled during peak hours (represented by even-indexed time slots) to optimize fleet deployment. Given a list of delivery vehicle IDs arranged by hourly time slots, determine the combined capacity by summing only the even-numbered IDs that appear at even-indexed positions in the schedule.
    

    """
def sum_even_and_even_index(arr):
    """
    Calculate the total cargo capacity of high-capacity delivery vehicles (represented by even IDs) that are scheduled during peak hours (represented by even-indexed time slots) to optimize fleet deployment. Given a list of delivery vehicle IDs arranged by hourly time slots, determine the combined capacity by summing only the even-numbered IDs that appear at even-indexed positions in the schedule.
    

    """
    i = 0
    sum = 0
    for i in range(0, len(arr), 2):
        if arr[i] % 2 == 0:
            sum += arr[i]
    return sum