
    Given the number of concurrent transactions in the fraud detection system, determine the largest batch size (which must be a power of 2) that can process these transactions without exceeding the total transaction count. This batch size will be used to optimize parallel processing in the fraud detection analysis pipeline.
    

    
def highest_Power_of_2(n):
    """
    Given the number of concurrent transactions in the fraud detection system, determine the largest batch size (which must be a power of 2) that can process these transactions without exceeding the total transaction count. This batch size will be used to optimize parallel processing in the fraud detection analysis pipeline.
    

    """
def highest_Power_of_2(n):
    """
    Given the number of concurrent transactions in the fraud detection system, determine the largest batch size (which must be a power of 2) that can process these transactions without exceeding the total transaction count. This batch size will be used to optimize parallel processing in the fraud detection analysis pipeline.
    

    """
    res = 0
    for i in range(n, 0, -1):
        if i & i - 1 == 0:
            res = i
            break
    return res