
    In a social networking platform, given a list of user interest codes (where each code is a binary-encoded number representing their interests), determine how many pairs of users would be compatible matches for friend recommendations. Two users are considered compatible when the XOR of their interest codes results in an even number, indicating complementary interest patterns.
    

    
def find_even_pair(A):
    """
    In a social networking platform, given a list of user interest codes (where each code is a binary-encoded number representing their interests), determine how many pairs of users would be compatible matches for friend recommendations. Two users are considered compatible when the XOR of their interest codes results in an even number, indicating complementary interest patterns.
    

    """
def find_even_pair(A):
    """
    In a social networking platform, given a list of user interest codes (where each code is a binary-encoded number representing their interests), determine how many pairs of users would be compatible matches for friend recommendations. Two users are considered compatible when the XOR of their interest codes results in an even number, indicating complementary 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