
    Given a sequence of transaction amounts across multiple banking channels, find the highest risk score by multiplying transaction values from any increasing pattern of transactions, where each subsequent transaction amount is higher than the previous one. This risk assessment helps identify potential fraudulent behavior where criminals test accounts with progressively larger transactions.
    

    
def max_product(arr):
    """
    Given a sequence of transaction amounts across multiple banking channels, find the highest risk score by multiplying transaction values from any increasing pattern of transactions, where each subsequent transaction amount is higher than the previous one. This risk assessment helps identify potential fraudulent behavior where criminals test accounts with progressively larger transactions.
    

    """
def max_product(arr):
    """
    Given a sequence of transaction amounts across multiple banking channels, find the highest risk score by multiplying transaction values from any increasing pattern of transactions, where each subsequent transaction amount is higher than the previous one. This risk assessment helps identify potential fraudulent behavior where criminals test accounts with progressively larger transactions.
    

    """
    n = len(arr)
    mpis = arr[:]
    for i in range(n):
        current_prod = arr[i]
        j = i + 1
        while j < n:
            if arr[j - 1] > arr[j]:
                break
            current_prod *= arr[j]
            if current_prod > mpis[j]:
                mpis[j] = current_prod
            j = j + 1
    return max(mpis)