
    Write a function that determines the highest number of days, in powers of 2, that can be used as a risk threshold given a student's total consecutive absences, to help categorize attendance severity levels in a dropout prevention system. The threshold must be the largest power of 2 that does not exceed the student's actual absence count.
    

    
def highest_Power_of_2(n):
    """
    Write a function that determines the highest number of days, in powers of 2, that can be used as a risk threshold given a student's total consecutive absences, to help categorize attendance severity levels in a dropout prevention system. The threshold must be the largest power of 2 that does not exceed the student's actual absence count.
    

    """
def highest_Power_of_2(n):
    """
    Write a function that determines the highest number of days, in powers of 2, that can be used as a risk threshold given a student's total consecutive absences, to help categorize attendance severity levels in a dropout prevention system. The threshold must be the largest power of 2 that does not exceed the student's actual absence count.
    

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