
    Design a function for the credit assessment system that determines the largest batch size (which must be a power of 2) that can be used to process credit transaction data without exceeding the total number of available transaction records for a loan applicant. The batch size should be optimized to maximize processing efficiency while ensuring no transaction records are missed in the analysis.
    

    
def highest_Power_of_2(n):
    """
    Design a function for the credit assessment system that determines the largest batch size (which must be a power of 2) that can be used to process credit transaction data without exceeding the total number of available transaction records for a loan applicant. The batch size should be optimized to maximize processing efficiency while ensuring no transaction records are missed in the analysis.
    

    """
def highest_Power_of_2(n):
    """
    Design a function for the credit assessment system that determines the largest batch size (which must be a power of 2) that can be used to process credit transaction data without exceeding the total number of available transaction records for a loan applicant. The batch size should be optimized to maximize processing efficiency while ensuring no transaction records are missed in the analysis.
    

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