
    Given a list of user interaction scores from a social network, determine how many pairs of users have a compatibility score (calculated by XORing their interaction scores) that indicates a potential friend match (even XOR result). The interaction scores are integers representing the strength of digital connections between users based on their social media activities.
    

    
def find_even_pair(A):
    """
    Given a list of user interaction scores from a social network, determine how many pairs of users have a compatibility score (calculated by XORing their interaction scores) that indicates a potential friend match (even XOR result). The interaction scores are integers representing the strength of digital connections between users based on their social media activities.
    

    """
def find_even_pair(A):
    """
    Given a list of user interaction scores from a social network, determine how many pairs of users have a compatibility score (calculated by XORing their interaction scores) that indicates a potential friend match (even XOR result). The interaction scores are integers representing the strength of digital connections between users based on their social media activities.
    

    """
    count = 0
    for i in range(0, len(A)):
        for j in range(i + 1, len(A)):
            if (A[i] ^ A[j]) % 2 == 0:
                count += 1
    return count