
    Given the total number of banking transactions in the current processing queue, determine the largest batch size (which must be a power of 2) that can be used to analyze transactions for fraud detection without exceeding the queue size. This batch size optimization ensures efficient parallel processing in the bank's real-time monitoring system while maintaining complete coverage of all transactions.
    

    
def highest_Power_of_2(n):
    """
    Given the total number of banking transactions in the current processing queue, determine the largest batch size (which must be a power of 2) that can be used to analyze transactions for fraud detection without exceeding the queue size. This batch size optimization ensures efficient parallel processing in the bank's real-time monitoring system while maintaining complete coverage of all transactions.
    

    """
def highest_Power_of_2(n):
    """
    Given the total number of banking transactions in the current processing queue, determine the largest batch size (which must be a power of 2) that can be used to analyze transactions for fraud detection without exceeding the queue size. This batch size optimization ensures efficient parallel processing in the bank's real-time monitoring system while maintaining complete coverage of all transactions.
    

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