
    Write a function that analyzes a list of transaction amounts to identify pairs of transactions that could be part of coordinated fraud by counting how many pairs of transactions, when XORed together, result in an even number. The security system uses this pattern detection as one of several indicators to flag potentially suspicious transaction pairs for further investigation.
    

    
def find_even_pair(A):
    """
    Write a function that analyzes a list of transaction amounts to identify pairs of transactions that could be part of coordinated fraud by counting how many pairs of transactions, when XORed together, result in an even number. The security system uses this pattern detection as one of several indicators to flag potentially suspicious transaction pairs for further investigation.
    

    """
def find_even_pair(A):
    """
    Write a function that analyzes a list of transaction amounts to identify pairs of transactions that could be part of coordinated fraud by counting how many pairs of transactions, when XORed together, result in an even number. The security system uses this pattern detection as one of several indicators to flag potentially suspicious transaction pairs for further investigation.
    

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