def FilterDataInRanges(data, ranges):
    filtered_data = []
    for item in data:
        if ((item[0] > ranges[0]) and (item[0] < ranges[1])) and ((item[1] > ranges[2]) and (item[1] < ranges[3])):
            filtered_data.append(item)

    return filtered_data
50854c990e61b6a390dcf5226748ca812f420437
<mask token>

def FilterDataInRanges(data, ranges):
    filtered_data = []
    for item in data:
        if (item[0] > ranges[0] and item[0] < ranges[1]) and (item[1] >
            ranges[2] and item[1] < ranges[3]):
            filtered_data.append(item)
    return filtered_data

def FilterDataInRanges(data, ranges):
    filtered_data = []
    for item in data:
        if ((item[0] > ranges[0]) and (item[0] < ranges[1])) and ((item[1] > ranges[2]) and (item[1] < ranges[3])):
            filtered_data.append(item)

    return filtered_data