
    Given the total number of user interactions on a social media platform during a specific time period, determine the largest batch size (which must be a power of 2) that can be used to process these interactions without exceeding the total count. This batch size will be used to optimize the platform's content recommendation engine for efficient memory usage and processing speed.
    

    
def highest_Power_of_2(n):
    """
    Given the total number of user interactions on a social media platform during a specific time period, determine the largest batch size (which must be a power of 2) that can be used to process these interactions without exceeding the total count. This batch size will be used to optimize the platform's content recommendation engine for efficient memory usage and processing speed.
    

    """
def highest_Power_of_2(n):
    """
    Given the total number of user interactions on a social media platform during a specific time period, determine the largest batch size (which must be a power of 2) that can be used to process these interactions without exceeding the total count. This batch size will be used to optimize the platform's content recommendation engine for efficient memory usage and processing speed.
    

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