
    Write a function that calculates the total value of suspicious transactions by summing up even-valued withdrawal amounts that occurred at even-numbered positions in the bank's transaction log. This monitoring system specifically targets patterns where both the transaction position and amount exhibit even characteristics, as these combinations have been identified as potential indicators of fraudulent activity.
    

    
def sum_even_and_even_index(arr):
    """
    Write a function that calculates the total value of suspicious transactions by summing up even-valued withdrawal amounts that occurred at even-numbered positions in the bank's transaction log. This monitoring system specifically targets patterns where both the transaction position and amount exhibit even characteristics, as these combinations have been identified as potential indicators of fraudulent activity.
    

    """
def sum_even_and_even_index(arr):
    """
    Write a function that calculates the total value of suspicious transactions by summing up even-valued withdrawal amounts that occurred at even-numbered positions in the bank's transaction log. This monitoring system specifically targets patterns where both the transaction position and amount exhibit even characteristics, as these combinations have been identified as potential indicators of fraudulent activity.
    

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