
    Given the total number of students in a risk assessment group, determine the largest possible cohort size (which must be a power of 2) that can be formed without exceeding the total student count, to ensure optimal group intervention sessions. The cohort size should maximize peer support while maintaining manageable group dynamics.
    

    
def highest_Power_of_2(n):
    """
    Given the total number of students in a risk assessment group, determine the largest possible cohort size (which must be a power of 2) that can be formed without exceeding the total student count, to ensure optimal group intervention sessions. The cohort size should maximize peer support while maintaining manageable group dynamics.
    

    """
def highest_Power_of_2(n):
    """
    Given the total number of students in a risk assessment group, determine the largest possible cohort size (which must be a power of 2) that can be formed without exceeding the total student count, to ensure optimal group intervention sessions. The cohort size should maximize peer support while maintaining manageable group dynamics.
    

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