
    Given the total number of customer financial transactions in a period, determine the largest batch size (which must be a power of 2) that can be used to group these transactions for credit score analysis without exceeding the total transaction count. The batch size is crucial for maintaining optimal processing efficiency in the bank's credit assessment system.
    

    
def highest_Power_of_2(n):
    """
    Given the total number of customer financial transactions in a period, determine the largest batch size (which must be a power of 2) that can be used to group these transactions for credit score analysis without exceeding the total transaction count. The batch size is crucial for maintaining optimal processing efficiency in the bank's credit assessment system.
    

    """
def highest_Power_of_2(n):
    """
    Given the total number of customer financial transactions in a period, determine the largest batch size (which must be a power of 2) that can be used to group these transactions for credit score analysis without exceeding the total transaction count. The batch size is crucial for maintaining optimal processing efficiency in the bank's credit assessment system.
    

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