def highest_Power_of_2(n):
     
    res = 0; 
    for i in range(n, 0, -1): 
        if ((i & (i - 1)) == 0): 
            res = i; 
            break; 
    return res; 
def highest_Power_of_2(n):
    res = 0
    for VAR_0 in range(n, 0, -1):
       
        if (VAR_0 & (VAR_0 - 1)) == 0:
            res = VAR_0
            break
    return res