
    Given the total number of credit card transactions in the current processing window, determine the maximum batch size (which must be a power of 2) that can be used to process these transactions in parallel without exceeding the total transaction count. This batch size optimization is crucial for efficient distribution of fraud detection workload across available computing resources.
    

    
def highest_Power_of_2(n):
    """
    Given the total number of credit card transactions in the current processing window, determine the maximum batch size (which must be a power of 2) that can be used to process these transactions in parallel without exceeding the total transaction count. This batch size optimization is crucial for efficient distribution of fraud detection workload across available computing resources.
    

    """
def highest_Power_of_2(n):
    """
    Given the total number of credit card transactions in the current processing window, determine the maximum batch size (which must be a power of 2) that can be used to process these transactions in parallel without exceeding the total transaction count. This batch size optimization is crucial for efficient distribution of fraud detection workload across available computing resources.
    

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