
    Given the number of professionals in a specific career field within a 50-mile radius, determine the minimum group size (which must be a power of 2) needed to create balanced networking clusters that can accommodate all professionals. The group size should be the smallest power of 2 that is greater than or equal to the total number of professionals to ensure efficient networking group formation and connection management.
    

    
def next_power_of_2(n):
    """
    Given the number of professionals in a specific career field within a 50-mile radius, determine the minimum group size (which must be a power of 2) needed to create balanced networking clusters that can accommodate all professionals. The group size should be the smallest power of 2 that is greater than or equal to the total number of professionals to ensure efficient networking group formation and connection management.
    

    """
def next_power_of_2(n):
    """
    Given the number of professionals in a specific career field within a 50-mile radius, determine the minimum group size (which must be a power of 2) needed to create balanced networking clusters that can accommodate all professionals. The group size should be the smallest power of 2 that is greater than or equal to the total number of professionals to ensure efficient networking group formation and connection management.
    

    """
    if n and (not n & n - 1):
        return n
    count = 0
    while n != 0:
        n >>= 1
        count += 1
    return 1 << count