
    Given a list of user interest scores from a social network, determine how many potential friend pairs would be compatible based on their XOR compatibility score. Two users are considered compatible when the XOR of their interest scores results in an even number, indicating similar interest patterns.
    

    
def find_even_pair(A):
    """
    Given a list of user interest scores from a social network, determine how many potential friend pairs would be compatible based on their XOR compatibility score. Two users are considered compatible when the XOR of their interest scores results in an even number, indicating similar interest patterns.
    

    """
def find_even_pair(A):
    """
    Given a list of user interest scores from a social network, determine how many potential friend pairs would be compatible based on their XOR compatibility score. Two users are considered compatible when the XOR of their interest scores results in an even number, indicating similar interest patterns.
    

    """
    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