```python
def sum_even_and_even_index(arr, n):
    """
    Calculates the sum of even numbers at even positions in a list.

    Args:
        arr: A list of integers.
        n: The number of elements to consider from the list.

    Returns:
        The sum of even numbers that are located at even indices.
    """
    total_sum = 0
    # Iterate through the list with a step of 2 to only get even indices
    for i in range(0, n, 2):
        # Check if the number at the even index is also even
        if arr[i] % 2 == 0:
            total_sum += arr[i]
    return total_sum
```