
    Given a medical device's maximum sampling capability in Hertz, determine the highest power of 2 sampling frequency that can be reliably supported by the monitoring equipment. This optimization is crucial for ensuring efficient digital signal processing of patient vital signs while operating within the device's technical limitations.
    

    
def highest_Power_of_2(n):
    """
    Given a medical device's maximum sampling capability in Hertz, determine the highest power of 2 sampling frequency that can be reliably supported by the monitoring equipment. This optimization is crucial for ensuring efficient digital signal processing of patient vital signs while operating within the device's technical limitations.
    

    """
def highest_Power_of_2(n):
    """
    Given a medical device's maximum sampling capability in Hertz, determine the highest power of 2 sampling frequency that can be reliably supported by the monitoring equipment. This optimization is crucial for ensuring efficient digital signal processing of patient vital signs while operating within the device's technical limitations.
    

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