
    Given a list of student mastery scores from paired learning activities, determine how many pairs of scores demonstrate complementary skill patterns, where a complementary pattern is defined when the XOR of two scores results in an even number. This analysis helps identify optimal combinations for structuring personalized learning paths that leverage students' existing skill harmonies.
    

    
def find_even_pair(A):
    """
    Given a list of student mastery scores from paired learning activities, determine how many pairs of scores demonstrate complementary skill patterns, where a complementary pattern is defined when the XOR of two scores results in an even number. This analysis helps identify optimal combinations for structuring personalized learning paths that leverage students' existing skill harmonies.
    

    """
def find_even_pair(A):
    """
    Given a list of student mastery scores from paired learning activities, determine how many pairs of scores demonstrate complementary skill patterns, where a complementary pattern is defined when the XOR of two scores results in an even number. This analysis helps identify optimal combinations for structuring personalized learning paths that leverage students' existing skill harmonies.
    

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