```python
def find_even_Pair(A, N):
    """
    Counts the pairs of elements in the first N elements of list A
    that have an even XOR value.

    The XOR of two numbers is even if and only if both numbers have the
    same parity (both are even or both are odd).

    This function counts the number of even and odd elements, and then
    calculates the number of pairs that can be formed within each group.
    The total count is the sum of pairs of even numbers and pairs of odd numbers.
    """
    even_count = 0
    
    # Count the number of even numbers in the first N elements.
    for i in range(N):
        if A[i] % 2 == 0:
            even_count += 1
            
    # The rest of the N elements must be odd.
    odd_count = N - even_count

    # The number of pairs that can be formed from n items is n * (n - 1) / 2.
    # This is also known as "n choose 2".
    
    # Calculate the number of pairs of two even numbers.
    even_pairs = (even_count * (even_count - 1)) // 2
    
    # Calculate the number of pairs of two odd numbers.
    odd_pairs = (odd_count * (odd_count - 1)) // 2

    return even_pairs + odd_pairs
```