def get_closest_targets(targets_with_distances, min_distance):
    """Get closest targets with min_distance from targets_with_distances."""
    return [
        (target_row, target_col)
        for distance, (target_row, target_col) in targets_with_distances
        if distance == min_distance]