
    Design a function for a social media platform that calculates the total strength of meaningful mutual connections by summing up strong engagement scores (even numbers) from direct interactions (even positions) in a user's interaction history list. The function will help prioritize friend recommendations based on consistent two-way engagement patterns, where even-numbered scores at even-indexed positions indicate the most promising potential connections.
    

    
def sum_even_and_even_index(arr):
    """
    Design a function for a social media platform that calculates the total strength of meaningful mutual connections by summing up strong engagement scores (even numbers) from direct interactions (even positions) in a user's interaction history list. The function will help prioritize friend recommendations based on consistent two-way engagement patterns, where even-numbered scores at even-indexed positions indicate the most promising potential connections.
    

    """
def sum_even_and_even_index(arr):
    """
    Design a function for a social media platform that calculates the total strength of meaningful mutual connections by summing up strong engagement scores (even numbers) from direct interactions (even positions) in a user's interaction history list. The function will help prioritize friend recommendations based on consistent two-way engagement patterns, where even-numbered scores at even-indexed positions indicate the most promising potential connections.
    

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