
    Develop a function to determine the optimal batch size for processing patient readmission records, where the batch size must be the largest power of 2 that does not exceed the total number of available patient records. The batch size determination is crucial for efficient analysis of patient readmission patterns and vital signs data in the hospital's risk prediction system.
    

    
def highest_Power_of_2(n):
    """
    Develop a function to determine the optimal batch size for processing patient readmission records, where the batch size must be the largest power of 2 that does not exceed the total number of available patient records. The batch size determination is crucial for efficient analysis of patient readmission patterns and vital signs data in the hospital's risk prediction system.
    

    """
def highest_Power_of_2(n):
    """
    Develop a function to determine the optimal batch size for processing patient readmission records, where the batch size must be the largest power of 2 that does not exceed the total number of available patient records. The batch size determination is crucial for efficient analysis of patient readmission patterns and vital signs data in the hospital's risk prediction system.
    

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