
    Given the total number of glucose readings from a patient's continuous monitoring device, determine the largest batch size (which must be a power of 2) that can be used to process the readings without leaving any incomplete batches. For example, if there are 100 readings, the function should return 64 as it's the largest power of 2 that fits within 100 readings.
    

    
def highest_Power_of_2(n):
    """
    Given the total number of glucose readings from a patient's continuous monitoring device, determine the largest batch size (which must be a power of 2) that can be used to process the readings without leaving any incomplete batches. For example, if there are 100 readings, the function should return 64 as it's the largest power of 2 that fits within 100 readings.
    

    """
def highest_Power_of_2(n):
    """
    Given the total number of glucose readings from a patient's continuous monitoring device, determine the largest batch size (which must be a power of 2) that can be used to process the readings without leaving any incomplete batches. For example, if there are 100 readings, the function should return 64 as it's the largest power of 2 that fits within 100 readings.
    

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