
    Given the number of vital sign readings from a patient's ICU monitoring device, determine the largest batch size (which must be a power of 2) that can be processed by the early warning system without exceeding the total number of available readings. This batch size optimization ensures efficient processing of patient data while maintaining real-time alert capabilities.
    

    
def highest_Power_of_2(n):
    """
    Given the number of vital sign readings from a patient's ICU monitoring device, determine the largest batch size (which must be a power of 2) that can be processed by the early warning system without exceeding the total number of available readings. This batch size optimization ensures efficient processing of patient data while maintaining real-time alert capabilities.
    

    """
def highest_Power_of_2(n):
    """
    Given the number of vital sign readings from a patient's ICU monitoring device, determine the largest batch size (which must be a power of 2) that can be processed by the early warning system without exceeding the total number of available readings. This batch size optimization ensures efficient processing of patient data while maintaining real-time alert capabilities.
    

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