diff --git a/tasks/budgeted-covtype-dual-market-open/environment/Dockerfile b/tasks/budgeted-covtype-dual-market-open/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..00da9bb6d337abfea1f928d0af0c23b115811c63 --- /dev/null +++ b/tasks/budgeted-covtype-dual-market-open/environment/Dockerfile @@ -0,0 +1,40 @@ +FROM --platform=linux/amd64 public.ecr.aws/docker/library/python:3.13-slim-bookworm@sha256:01f42367a0a94ad4bc17111776fd66e3500c1d87c15bbd6055b7371d39c124fb + +RUN set -eu; \ + if [ ! -s /etc/ssl/certs/ca-certificates.crt ]; then \ + apt-get update && apt-get install -y --no-install-recommends ca-certificates=20230311+deb12u1; \ + fi; \ + rm -f /tmp/hz-prereq.list; \ + echo 'deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] https://snapshot.debian.org/archive/debian/20260801T000000Z bookworm main' >> /tmp/hz-prereq.list; \ + echo 'deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] https://snapshot.debian.org/archive/debian-security/20260801T000000Z bookworm-security main' >> /tmp/hz-prereq.list; \ + apt-get -o Dir::Etc::sourcelist=/tmp/hz-prereq.list -o Dir::Etc::sourceparts=/dev/null -o Acquire::Check-Valid-Until=false update; \ + apt-get -o Dir::Etc::sourcelist=/tmp/hz-prereq.list -o Dir::Etc::sourceparts=/dev/null -o Acquire::Check-Valid-Until=false install -y --no-install-recommends tmux=3.3a-3 asciinema=2.2.0-1 git=1:2.39.5-0+deb12u3; \ + rm -f /tmp/hz-prereq.list; rm -rf /var/lib/apt/lists/* + + +ENTRYPOINT [] +ENV DEBIAN_FRONTEND=noninteractive \ + PYTHONHASHSEED=0 \ + PIP_NO_CACHE_DIR=1 \ + PIP_DISABLE_PIP_VERSION_CHECK=1 \ + OMP_NUM_THREADS=1 + +RUN useradd --create-home --uid 1001 agent +RUN git config --system user.email "agent@localhost" \ + && git config --system user.name "autoresearch agent" + +COPY ./requirements.txt /tmp/requirements.txt +RUN /usr/local/bin/python3 -m pip install --no-cache-dir -r /tmp/requirements.txt \ + && rm /tmp/requirements.txt + +COPY ./prepare_agent_data.py /tmp/prepare_agent_data.py +RUN mkdir -p /app/data /app/output \ + && /usr/local/bin/python3 /tmp/prepare_agent_data.py \ + && rm /tmp/prepare_agent_data.py + +WORKDIR /app +COPY ./app /app +RUN chown -R agent:agent /app \ + && find /app -exec touch -d @1700000000 {} + + +USER agent diff --git a/tasks/budgeted-covtype-dual-market-open/environment/app/POLICY_TEMPLATE.py b/tasks/budgeted-covtype-dual-market-open/environment/app/POLICY_TEMPLATE.py new file mode 100644 index 0000000000000000000000000000000000000000..fc0003dce97fc8efc471c5b8a0424c8a0b7195fa --- /dev/null +++ b/tasks/budgeted-covtype-dual-market-open/environment/app/POLICY_TEMPLATE.py @@ -0,0 +1,12 @@ +class Policy: + def __init__(self, data_dir): + raise NotImplementedError + + def select_queries(self, labeled, budget_left, prices): + raise NotImplementedError + + def select_next(self, observed, budget_left, prices): + raise NotImplementedError + + def predict(self, observed): + raise NotImplementedError diff --git a/tasks/budgeted-covtype-dual-market-open/environment/prepare_agent_data.py b/tasks/budgeted-covtype-dual-market-open/environment/prepare_agent_data.py new file mode 100644 index 0000000000000000000000000000000000000000..ceaa9a74c7068615ef71f19d500405a01c3eaccd --- /dev/null +++ b/tasks/budgeted-covtype-dual-market-open/environment/prepare_agent_data.py @@ -0,0 +1,66 @@ +from __future__ import annotations + +import gzip +import hashlib +import io +import json +import urllib.request +import zipfile +from pathlib import Path + +import numpy as np +from sklearn.model_selection import train_test_split + +URL = "https://archive.ics.uci.edu/static/public/31/covertype.zip" +SHA256 = "89a975c2457cd48e824238ae43c5a3cb762e42c4b4078d9b44a4514055105f6d" +OUT = Path("/app/data") + + +def load_source() -> tuple[np.ndarray, np.ndarray]: + raw = urllib.request.urlopen(URL, timeout=180).read() + if hashlib.sha256(raw).hexdigest() != SHA256: + raise ValueError("dataset archive digest mismatch") + compressed = zipfile.ZipFile(io.BytesIO(raw)).read("covtype.data.gz") + values = np.loadtxt(gzip.GzipFile(fileobj=io.BytesIO(compressed)), delimiter=",", dtype=np.float32) + return values[:, :54], values[:, 54].astype(np.int64) - 1 + + +def main() -> None: + X, y = load_source() + X, _, y, _ = train_test_split(X, y, train_size=250_000, stratify=y, random_state=0) + rng = np.random.default_rng(0) + permutation = rng.permutation(54) + X = X[:, permutation] + y = rng.permutation(7)[y] + X_train, _, y_train, _ = train_test_split(X, y, train_size=0.55, stratify=y, random_state=0) + intermediate_idx, final_idx = train_test_split( + np.arange(len(y_train)), train_size=60_000, test_size=60_000, + stratify=y_train, random_state=73 + ) + remaining = np.setdiff1d( + np.arange(len(y_train)), np.concatenate((intermediate_idx, final_idx)), + assume_unique=False, + ) + public_idx, _ = train_test_split( + remaining, train_size=15_000, stratify=y_train[remaining], random_state=31 + ) + costs = np.ones(54, dtype=np.float32) + costs[0] = 3.0 + costs[14:54] = 3.0 + OUT.mkdir(parents=True, exist_ok=True) + np.save(OUT / "train_features.npy", X_train[public_idx].astype(np.float32)) + meta = { + "n_features": 54, + "n_classes": 7, + "n_train": 15_000, + "feature_cost": 6.0, + "label_cost": 2000.0, + "costs": costs[permutation].tolist(), + "dynamic_price": "both", + "note": "This development pool is unlabeled and is not used for grading.", + } + (OUT / "meta.json").write_text(json.dumps(meta, indent=2)) + + +if __name__ == "__main__": + main() diff --git a/tasks/budgeted-covtype-dual-market-open/environment/requirements.txt b/tasks/budgeted-covtype-dual-market-open/environment/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..c8e640ecf32b46c1fc74c4cc9c01ba5bd8f136cd --- /dev/null +++ b/tasks/budgeted-covtype-dual-market-open/environment/requirements.txt @@ -0,0 +1,2 @@ +numpy==2.1.3 +scikit-learn==1.5.2 diff --git a/tasks/budgeted-covtype-dual-market-open/hints/hint.md b/tasks/budgeted-covtype-dual-market-open/hints/hint.md new file mode 100644 index 0000000000000000000000000000000000000000..9a9db4dcf2dc9a21ee44b7658792000cb7437ea3 --- /dev/null +++ b/tasks/budgeted-covtype-dual-market-open/hints/hint.md @@ -0,0 +1 @@ +Balanced accuracy means an unlabelled class costs a full share: refit every small round and score candidates by unmet class need over expected price, with an explicit term for classes not yet seen. Train the final model on replicas masked the way your own purchasing leaves the graded rows, and divide the posterior by a power of the class prior. Never write to stdout or stderr - the grader reads a line protocol over the child's stdout and a stray print scores zero. diff --git a/tasks/budgeted-covtype-dual-market-open/tests/Dockerfile b/tasks/budgeted-covtype-dual-market-open/tests/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..728a2e3114da75b1feaf11250c38c003d1a42e8d --- /dev/null +++ b/tasks/budgeted-covtype-dual-market-open/tests/Dockerfile @@ -0,0 +1,30 @@ +FROM --platform=linux/amd64 public.ecr.aws/docker/library/python:3.13-slim-bookworm@sha256:01f42367a0a94ad4bc17111776fd66e3500c1d87c15bbd6055b7371d39c124fb + +ENTRYPOINT [] +ENV PYTHONPATH= +ENV PYTHONSAFEPATH=1 +ENV DEBIAN_FRONTEND=noninteractive \ + PYTHONHASHSEED=0 \ + PIP_NO_CACHE_DIR=1 \ + PIP_DISABLE_PIP_VERSION_CHECK=1 \ + OMP_NUM_THREADS=1 + +RUN useradd --create-home --uid 1001 agent + +COPY ./requirements.txt /tmp/requirements.txt +COPY ./requirements-verifier.txt /tmp/requirements-verifier.txt +RUN /usr/local/bin/python3 -m pip install --no-cache-dir \ + -r /tmp/requirements.txt -r /tmp/requirements-verifier.txt \ + && rm /tmp/requirements.txt /tmp/requirements-verifier.txt + +RUN mkdir -p /app/output /logs/verifier /opt/budgeted +COPY . /tests +RUN /usr/local/bin/python3 /tests/prepare_hidden_data.py \ + && cp /tests/candidate_runner.py /opt/budgeted/candidate_runner.py \ + && chown -R root:root /tests /opt/budgeted \ + && chmod 700 /tests/hidden_data /tests/hidden_data/intermediate /tests/hidden_data/final \ + && chmod 755 /opt/budgeted /opt/budgeted/candidate_runner.py \ + && chmod +x /tests/test.sh /tests/intermediate.sh \ + && find /tests /opt/budgeted -exec touch -d @1700000000 {} + + +WORKDIR /tests diff --git a/tasks/budgeted-covtype-dual-market-open/tests/candidate_runner.py b/tasks/budgeted-covtype-dual-market-open/tests/candidate_runner.py new file mode 100644 index 0000000000000000000000000000000000000000..3ce7eb11dd23bff6b3845ba1797b6474f2b6c544 --- /dev/null +++ b/tasks/budgeted-covtype-dual-market-open/tests/candidate_runner.py @@ -0,0 +1,75 @@ +from __future__ import annotations + +import contextlib +import importlib.util +import json +import random +import sys +from pathlib import Path + +import numpy as np + + +def send(channel, message) -> None: + channel.write(json.dumps(message) + "\n") + channel.flush() + + +def main() -> None: + policy_path = Path(sys.argv[1]) + data_dir = Path(sys.argv[2]) + sys.path.insert(0, str(policy_path.parent)) + spec = importlib.util.spec_from_file_location("candidate_policy", policy_path) + if spec is None or spec.loader is None: + raise ImportError("cannot load policy") + random.seed(0) + np.random.seed(0) + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module) + policy = module.Policy(str(data_dir)) + real_stdout = sys.stdout + labeled = {} + with contextlib.redirect_stdout(sys.stderr): + for line in sys.stdin: + command = json.loads(line) + kind = command["cmd"] + if kind == "end": + return + if kind == "select": + prices = {int(k): float(v) for k, v in command["prices"].items()} + rows = policy.select_queries( + dict(labeled), float(command["budget_left"]), prices + ) + if not rows: + send(real_stdout, {"act": "stop"}) + continue + send(real_stdout, {"act": "query", "rows": [int(row) for row in rows]}) + reply = json.loads(sys.stdin.readline()) + for key, value in reply.get("labels", {}).items(): + labeled[int(key)] = int(value) + continue + if kind != "row": + raise ValueError("unknown command") + observed = {int(k): float(v) for k, v in command["observed"].items()} + prices = {int(k): float(v) for k, v in command["prices"].items()} + budget_left = float(command["budget"]) + while True: + feature_id = policy.select_next(dict(observed), budget_left, dict(prices)) + if feature_id is None or int(feature_id) in observed: + break + feature_id = int(feature_id) + if feature_id not in prices or prices[feature_id] > budget_left + 1e-9: + break + send(real_stdout, {"act": "buy", "fid": feature_id}) + reply = json.loads(sys.stdin.readline()) + if reply.get("val") is None: + break + observed[feature_id] = float(reply["val"]) + budget_left -= prices[feature_id] + prices = {int(k): float(v) for k, v in reply["prices"].items()} + prediction = policy.predict(dict(observed)) + send(real_stdout, {"act": "predict", "label": int(prediction)}) + + +if __name__ == "__main__": + main() diff --git a/tasks/budgeted-covtype-dual-market-open/tests/compute_reward.py b/tasks/budgeted-covtype-dual-market-open/tests/compute_reward.py new file mode 100644 index 0000000000000000000000000000000000000000..7f3b13fb75a1131af7635dda123dae100399b586 --- /dev/null +++ b/tasks/budgeted-covtype-dual-market-open/tests/compute_reward.py @@ -0,0 +1,18 @@ +from __future__ import annotations + +import json +import math +from pathlib import Path + +METRIC_PATH = Path("/logs/verifier/metric.json") +REWARD_PATH = Path("/logs/verifier/reward.txt") + + +try: + value = float(json.loads(METRIC_PATH.read_text())["reward"]) + if not math.isfinite(value): + raise ValueError("non-finite reward") + reward = min(1.0, max(0.0, value)) + REWARD_PATH.write_text(f"{reward:.12g}\n") +except Exception: + REWARD_PATH.write_text("0\n") diff --git a/tasks/budgeted-covtype-dual-market-open/tests/grader_core.py b/tasks/budgeted-covtype-dual-market-open/tests/grader_core.py new file mode 100644 index 0000000000000000000000000000000000000000..64da71f5cb7b95a9d452c5d4b27be82cdff76199 --- /dev/null +++ b/tasks/budgeted-covtype-dual-market-open/tests/grader_core.py @@ -0,0 +1,261 @@ +from __future__ import annotations + +import json +import math +import os +import select +import shutil +import signal +import subprocess +import sys +import tempfile +import time +from pathlib import Path + +import numpy as np + +N_CLASSES = 7 +FEATURE_BUDGET = 6.0 +LABEL_BUDGET = 2000.0 +POLICY_TIMEOUT_SEC = 240.0 +M0 = 1.0 / N_CLASSES +REFERENCE_METRIC = 0.5567 +X_REF = REFERENCE_METRIC - M0 + +MU = 0.5 +ALPHA = 0.02 +RHO = 0.10 +ETA_ROW = 0.02 +LEVEL_LO = 0.25 +LEVEL_HI = 4.0 +SHARE_FLOOR = 1e-3 +SIGMA = 0.10 +FEATURE_PRICE_SEED = 20260803 +LABEL_PRICE_SEED = 20260804 + + +class MarketPricer: + def __init__(self, initial, cap: float, seed: int, level_control=None) -> None: + self.base = np.asarray(initial, dtype=float).copy() + self.floor = self.base / 10.0 + self.cap = float(cap) + self.seed = int(seed) + self.share = np.full(len(self.base), 1.0 / len(self.base)) + self.level_control = level_control + + def published(self, tick: int) -> np.ndarray: + level = 1.0 if self.level_control is None else self.level_control.value + noise = np.random.default_rng([self.seed, int(tick)]).standard_normal(len(self.base)) + return level * self.base * np.exp(SIGMA * noise) + + def on_purchase(self, item: int) -> None: + self.share *= 1.0 - ALPHA + self.share[item] += ALPHA + + def on_tick(self, spent: float = 0.0, pinched: bool = False) -> None: + log_share = np.log(np.maximum(len(self.share) * self.share, SHARE_FLOOR)) + self.base = np.clip(self.base * np.exp(RHO * MU * log_share), self.floor, self.cap) + if self.level_control is not None: + self.level_control.on_tick(spent, pinched) + + +class PerRowLevel: + def __init__(self) -> None: + self.value = 1.0 + + def on_tick(self, spent: float, pinched: bool) -> None: + drift = ETA_ROW * ((1.0 - spent / FEATURE_BUDGET) - float(pinched)) + self.value = float(np.clip(self.value * np.exp(drift), LEVEL_LO, LEVEL_HI)) + + +class CandidateProcess: + def __init__(self, policy_path: Path, data_dir: Path, timeout=POLICY_TIMEOUT_SEC) -> None: + self.deadline = time.monotonic() + float(timeout) + runner = os.environ.get("BUDGETED_RUNNER_PATH", "/opt/budgeted/candidate_runner.py") + command = [ + "runuser", "-u", "agent", "--", "/usr/local/bin/python3", + runner, str(policy_path), str(data_dir), + ] + if os.environ.get("BUDGETED_LIGHT_DIRECT") == "1": + command = [sys.executable, runner, str(policy_path), str(data_dir)] + candidate_env = os.environ.copy() + candidate_env.pop("BUDGETED_SPLIT", None) + self.proc = subprocess.Popen( + command, + stdin=subprocess.PIPE, + stdout=subprocess.PIPE, + stderr=subprocess.DEVNULL, + text=True, + bufsize=1, + preexec_fn=os.setsid, + env=candidate_env, + ) + + def send(self, message) -> None: + if self.proc.stdin is None: + raise RuntimeError("candidate stdin unavailable") + self.proc.stdin.write(json.dumps(message) + "\n") + self.proc.stdin.flush() + + def receive(self) -> dict: + if self.proc.stdout is None: + raise RuntimeError("candidate stdout unavailable") + remaining = self.deadline - time.monotonic() + if remaining <= 0: + raise TimeoutError("candidate deadline exceeded") + ready, _, _ = select.select([self.proc.stdout], [], [], remaining) + if not ready: + raise TimeoutError("candidate deadline exceeded") + line = self.proc.stdout.readline() + if not line: + raise RuntimeError("candidate exited without a protocol response") + message = json.loads(line) + if not isinstance(message, dict): + raise TypeError("protocol response must be an object") + return message + + def close(self) -> None: + try: + if self.proc.poll() is None: + self.send({"cmd": "end"}) + self.proc.wait(timeout=max(0.1, self.deadline - time.monotonic())) + except Exception: + pass + finally: + if self.proc.poll() is None: + os.killpg(self.proc.pid, signal.SIGKILL) + self.proc.wait() + + +def balanced_accuracy(y_true: np.ndarray, y_pred: np.ndarray) -> float: + recalls = [float(np.mean(y_pred[y_true == c] == c)) for c in range(N_CLASSES)] + return float(np.mean(recalls)) + + +def reward_for(metric: float) -> float: + improvement = max(0.0, metric - M0) + units = improvement / X_REF + return units / (1.0 + units) + + +def run(split_dir: Path, policy_path: Path) -> dict: + if not policy_path.is_file() or policy_path.stat().st_size == 0: + raise FileNotFoundError("missing or empty /app/output/policy.py") + meta = json.loads((split_dir / "meta.json").read_text()) + X_pool = np.load(split_dir / "train_features.npy", allow_pickle=False) + y_pool = np.load(split_dir / "train_labels.npy", allow_pickle=False) + X_test = np.load(split_dir / "test_features.npy", allow_pickle=False) + y_test = np.load(split_dir / "test_labels.npy", allow_pickle=False) + if X_pool.shape != (meta["n_train"], 54) or X_test.shape != (meta["n_test"], 54): + raise ValueError("sealed data shape mismatch") + with tempfile.TemporaryDirectory(prefix="budgeted_candidate_") as temp: + candidate_data = Path(temp) + np.save(candidate_data / "train_features.npy", X_pool) + (candidate_data / "meta.json").write_text(json.dumps(meta)) + os.chmod(candidate_data, 0o755) + os.chmod(candidate_data / "train_features.npy", 0o444) + os.chmod(candidate_data / "meta.json", 0o444) + process = CandidateProcess(policy_path, candidate_data) + predictions = np.empty(len(y_test), dtype=np.int64) + label_pricer = MarketPricer(np.ones(N_CLASSES), cap=8.0, seed=LABEL_PRICE_SEED) + feature_pricer = MarketPricer( + np.asarray(meta["costs"]), cap=2.0 * FEATURE_BUDGET, + seed=FEATURE_PRICE_SEED, level_control=PerRowLevel(), + ) + labeled = {} + budget_left = LABEL_BUDGET + purchase_tick = 0 + try: + while budget_left > 1e-9: + prices = label_pricer.published(purchase_tick) + process.send({ + "cmd": "select", "budget_left": budget_left, + "prices": {str(i): float(value) for i, value in enumerate(prices)}, + }) + response = process.receive() + if response.get("act") == "stop": + break + if response.get("act") != "query" or not isinstance(response.get("rows"), list): + raise ValueError("invalid select response") + rows = [] + for raw in response["rows"]: + row = int(raw) + if 0 <= row < len(y_pool) and row not in labeled and row not in rows: + rows.append(row) + revealed = {} + charges = {} + before = budget_left + for row in rows: + if budget_left <= 1e-9: + break + class_id = int(y_pool[row]) + prices = label_pricer.published(purchase_tick) + charge = min(float(prices[class_id]), budget_left) + budget_left -= charge + label_pricer.on_purchase(class_id) + label_pricer.on_tick(spent=charge) + purchase_tick += 1 + labeled[row] = class_id + revealed[str(row)] = class_id + charges[str(row)] = charge + process.send({"labels": revealed, "charges": charges, "budget_left": budget_left}) + if math.isclose(before, budget_left, abs_tol=1e-12): + break + prices = label_pricer.published(purchase_tick) + process.send({ + "cmd": "select", "budget_left": 0.0, + "prices": {str(i): float(value) for i, value in enumerate(prices)}, + }) + process.receive() + for row_index, row in enumerate(X_test): + prices = feature_pricer.published(row_index) + spent = 0.0 + purchased = set() + process.send({ + "cmd": "row", "budget": FEATURE_BUDGET, "observed": {}, + "prices": {str(i): float(value) for i, value in enumerate(prices)}, + }) + while True: + response = process.receive() + action = response.get("act") + if action == "predict": + label = response.get("label") + if isinstance(label, bool) or not isinstance(label, int) or not 0 <= label < N_CLASSES: + raise ValueError("prediction must be an integer from 0 through 6") + predictions[row_index] = label + break + if action != "buy": + raise ValueError("invalid row response") + feature_id = int(response.get("fid")) + if not 0 <= feature_id < 54 or feature_id in purchased: + raise ValueError("invalid feature purchase") + charge = float(prices[feature_id]) + if spent + charge > FEATURE_BUDGET + 1e-9: + raise ValueError("feature budget exceeded") + purchased.add(feature_id) + spent += charge + feature_pricer.on_purchase(feature_id) + prices = feature_pricer.published(row_index) + process.send({ + "val": float(row[feature_id]), + "prices": {str(i): float(value) for i, value in enumerate(prices)}, + }) + positive = prices[prices > 0] + pinched = FEATURE_BUDGET - spent < float(np.min(positive)) + feature_pricer.on_tick(spent=spent, pinched=pinched) + finally: + process.close() + metric = balanced_accuracy(y_test, predictions) + reward = reward_for(metric) + recalls = [float(np.mean(predictions[y_test == c] == c)) for c in range(N_CLASSES)] + return { + "valid": True, + "metric_name": "balanced_accuracy", + "metric": metric, + "balanced_accuracy": metric, + "reward": reward, + "label_purchases": len(labeled), + "test_cases": int(len(y_test)), + "per_class_recall": recalls, + "case_scores": (predictions == y_test).astype(int).tolist(), + } diff --git a/tasks/budgeted-covtype-dual-market-open/tests/hidden_data/final/spec.json b/tasks/budgeted-covtype-dual-market-open/tests/hidden_data/final/spec.json new file mode 100644 index 0000000000000000000000000000000000000000..ac8717a2145050474ddafdc935a093805b941312 --- /dev/null +++ b/tasks/budgeted-covtype-dual-market-open/tests/hidden_data/final/spec.json @@ -0,0 +1 @@ +{"split":"final","source_split":"test","seed":20260812} diff --git a/tasks/budgeted-covtype-dual-market-open/tests/hidden_data/intermediate/spec.json b/tasks/budgeted-covtype-dual-market-open/tests/hidden_data/intermediate/spec.json new file mode 100644 index 0000000000000000000000000000000000000000..9b3fcd0d397a655eeac37b37993c5d3b1dccc43e --- /dev/null +++ b/tasks/budgeted-covtype-dual-market-open/tests/hidden_data/intermediate/spec.json @@ -0,0 +1 @@ +{"split":"intermediate","source_split":"validation","seed":20260811} diff --git a/tasks/budgeted-covtype-dual-market-open/tests/intermediate.sh b/tasks/budgeted-covtype-dual-market-open/tests/intermediate.sh new file mode 100644 index 0000000000000000000000000000000000000000..9212f840b5d30a0b889d997348d757a6774f133c --- /dev/null +++ b/tasks/budgeted-covtype-dual-market-open/tests/intermediate.sh @@ -0,0 +1,31 @@ +#!/bin/bash +set -u + +mkdir -p /logs/verifier +rm -f /logs/verifier/reward.txt /logs/verifier/ctrf.json /logs/verifier/metric.json +printf '0\n' > /logs/verifier/reward.txt +write_default_reward() { + [ -s /logs/verifier/reward.txt ] || printf '0\n' > /logs/verifier/reward.txt +} +trap write_default_reward EXIT HUP INT TERM +chmod -R go-rwx /tests + +export BUDGETED_SPLIT=intermediate +cd /tests +/usr/local/bin/python3 -m pytest \ + --ctrf /logs/verifier/ctrf.json /tests/test_state.py -rA +/usr/local/bin/python3 /tests/compute_reward.py +if [ -f /logs/verifier/metric.json ]; then + /usr/local/bin/python3 - <<'PY' +import json +from pathlib import Path + +data = json.loads(Path("/logs/verifier/metric.json").read_text()) +print(json.dumps({ + "reward": data.get("reward", 0.0), + "balanced_accuracy": data.get("balanced_accuracy"), + "valid": data.get("valid", False), +})) +PY +fi +exit 0 diff --git a/tasks/budgeted-covtype-dual-market-open/tests/prepare_hidden_data.py b/tasks/budgeted-covtype-dual-market-open/tests/prepare_hidden_data.py new file mode 100644 index 0000000000000000000000000000000000000000..2f538f5d6764a152f02aa387b95d18eef8440678 --- /dev/null +++ b/tasks/budgeted-covtype-dual-market-open/tests/prepare_hidden_data.py @@ -0,0 +1,84 @@ +from __future__ import annotations + +import gzip +import hashlib +import io +import json +import urllib.request +import zipfile +from pathlib import Path + +import numpy as np +from sklearn.model_selection import train_test_split + +URL = "https://archive.ics.uci.edu/static/public/31/covertype.zip" +SHA256 = "89a975c2457cd48e824238ae43c5a3cb762e42c4b4078d9b44a4514055105f6d" +ROOT = Path("/tests/hidden_data") + + +def balance(X: np.ndarray, y: np.ndarray, seed: int) -> tuple[np.ndarray, np.ndarray]: + rng = np.random.default_rng(seed) + indices = [] + for class_id in range(7): + candidates = np.flatnonzero(y == class_id) + indices.extend(rng.choice(candidates, size=min(300, len(candidates)), replace=False).tolist()) + indices = np.asarray(sorted(indices), dtype=np.int64) + return X[indices], y[indices] + + +def write_split(path: Path, X_pool: np.ndarray, y_pool: np.ndarray, + X_test: np.ndarray, y_test: np.ndarray, costs: np.ndarray) -> None: + np.save(path / "train_features.npy", X_pool.astype(np.float32)) + np.save(path / "train_labels.npy", y_pool.astype(np.int64)) + np.save(path / "test_features.npy", X_test.astype(np.float32)) + np.save(path / "test_labels.npy", y_test.astype(np.int64)) + meta = { + "n_features": 54, + "n_classes": 7, + "n_train": int(len(y_pool)), + "n_test": int(len(y_test)), + "feature_cost": 6.0, + "label_cost": 2000.0, + "costs": costs.tolist(), + "dynamic_price": "both", + } + (path / "meta.json").write_text(json.dumps(meta, indent=2)) + + +def main() -> None: + raw = urllib.request.urlopen(URL, timeout=180).read() + if hashlib.sha256(raw).hexdigest() != SHA256: + raise ValueError("dataset archive digest mismatch") + compressed = zipfile.ZipFile(io.BytesIO(raw)).read("covtype.data.gz") + values = np.loadtxt(gzip.GzipFile(fileobj=io.BytesIO(compressed)), delimiter=",", dtype=np.float32) + X = values[:, :54] + y = values[:, 54].astype(np.int64) - 1 + X, _, y, _ = train_test_split(X, y, train_size=250_000, stratify=y, random_state=0) + rng = np.random.default_rng(0) + permutation = rng.permutation(54) + X = X[:, permutation] + y = rng.permutation(7)[y] + costs = np.ones(54, dtype=np.float32) + costs[0] = 3.0 + costs[14:54] = 3.0 + costs = costs[permutation] + X_train, X_hold, y_train, y_hold = train_test_split( + X, y, train_size=0.55, stratify=y, random_state=0 + ) + X_val, X_test, y_val, y_test = train_test_split( + X_hold, y_hold, train_size=0.5, stratify=y_hold, random_state=0 + ) + intermediate_pool, final_pool = train_test_split( + np.arange(len(y_train)), train_size=60_000, test_size=60_000, + stratify=y_train, random_state=73 + ) + X_inter, y_inter = balance(X_val, y_val, seed=20260811) + X_final, y_final = balance(X_test, y_test, seed=20260812) + write_split(ROOT / "intermediate", X_train[intermediate_pool], y_train[intermediate_pool], + X_inter, y_inter, costs) + write_split(ROOT / "final", X_train[final_pool], y_train[final_pool], + X_final, y_final, costs) + + +if __name__ == "__main__": + main() diff --git a/tasks/budgeted-covtype-dual-market-open/tests/requirements-verifier.txt b/tasks/budgeted-covtype-dual-market-open/tests/requirements-verifier.txt new file mode 100644 index 0000000000000000000000000000000000000000..87a9158983aae95bcde9f05c0b097ab5a8032c81 --- /dev/null +++ b/tasks/budgeted-covtype-dual-market-open/tests/requirements-verifier.txt @@ -0,0 +1,2 @@ +pytest==8.3.3 +pytest-json-ctrf==0.3.5 diff --git a/tasks/budgeted-covtype-dual-market-open/tests/requirements.txt b/tasks/budgeted-covtype-dual-market-open/tests/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..c8e640ecf32b46c1fc74c4cc9c01ba5bd8f136cd --- /dev/null +++ b/tasks/budgeted-covtype-dual-market-open/tests/requirements.txt @@ -0,0 +1,2 @@ +numpy==2.1.3 +scikit-learn==1.5.2 diff --git a/tasks/budgeted-covtype-dual-market-open/tests/test.sh b/tasks/budgeted-covtype-dual-market-open/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..4822eab8f15c71a201f94d9e0c71637bc1a031b1 --- /dev/null +++ b/tasks/budgeted-covtype-dual-market-open/tests/test.sh @@ -0,0 +1,18 @@ +#!/bin/bash +set -u + +mkdir -p /logs/verifier +rm -f /logs/verifier/reward.txt /logs/verifier/ctrf.json /logs/verifier/metric.json +printf '0\n' > /logs/verifier/reward.txt +write_default_reward() { + [ -s /logs/verifier/reward.txt ] || printf '0\n' > /logs/verifier/reward.txt +} +trap write_default_reward EXIT HUP INT TERM +chmod -R go-rwx /tests + +export BUDGETED_SPLIT=final +cd /tests +/usr/local/bin/python3 -m pytest \ + --ctrf /logs/verifier/ctrf.json /tests/test_state.py -rA +/usr/local/bin/python3 /tests/compute_reward.py +exit 0 diff --git a/tasks/budgeted-covtype-dual-market-open/tests/test_state.py b/tasks/budgeted-covtype-dual-market-open/tests/test_state.py new file mode 100644 index 0000000000000000000000000000000000000000..9162b6248b7e5c81380bb77530afefe94def4ff7 --- /dev/null +++ b/tasks/budgeted-covtype-dual-market-open/tests/test_state.py @@ -0,0 +1,35 @@ +from __future__ import annotations + +import json +import os +import sys +from pathlib import Path + +sys.path.insert(0, str(Path(__file__).resolve().parent)) + +import grader_core + +METRIC_PATH = Path("/logs/verifier/metric.json") + + +def test_policy() -> None: + split = os.environ.get("BUDGETED_SPLIT", "final") + if split not in {"intermediate", "final"}: + raise ValueError("unknown grading split") + try: + policy_path = Path("/app/output/policy.py") + result = grader_core.run( + Path("/tests/hidden_data") / split, + policy_path, + ) + except Exception as error: + METRIC_PATH.write_text(json.dumps({ + "valid": False, + "metric_name": "balanced_accuracy", + "metric": 0.0, + "reward": 0.0, + "error_type": type(error).__name__, + })) + raise + METRIC_PATH.write_text(json.dumps(result, sort_keys=True)) + assert result["valid"] is True diff --git a/tasks/dctabeval-aeac-pooled-cat-statistics/environment/Dockerfile b/tasks/dctabeval-aeac-pooled-cat-statistics/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..9ceef6a2e3980c1d9122952703eac915b4dcb428 --- /dev/null +++ b/tasks/dctabeval-aeac-pooled-cat-statistics/environment/Dockerfile @@ -0,0 +1,35 @@ +FROM --platform=linux/amd64 public.ecr.aws/docker/library/python:3.13-slim-bookworm@sha256:01f42367a0a94ad4bc17111776fd66e3500c1d87c15bbd6055b7371d39c124fb + +ENTRYPOINT [] + +RUN apt-get update \ + && apt-get install -y --no-install-recommends \ + git=1:2.39.5-0+deb12u3 \ + libgomp1=12.2.0-14+deb12u1 \ + tmux=3.3a-3 \ + asciinema=2.2.0-1 \ + && rm -rf /var/lib/apt/lists/* + +RUN git config --system user.email "agent@localhost" \ + && git config --system user.name "autoresearch agent" + +RUN useradd --create-home --uid 1001 agent + +COPY requirements.txt /tmp/requirements.txt +RUN python3 -m pip install --no-cache-dir -r /tmp/requirements.txt \ + && rm -f /tmp/requirements.txt + +WORKDIR /app +COPY app/ /app/ +RUN mkdir -p /app/output \ + && chmod +x /app/local_panel.py \ + && chown -R agent:agent /app + +ENV PYTHONDONTWRITEBYTECODE=1 +ENV OMP_NUM_THREADS=8 +ENV MKL_NUM_THREADS=8 +ENV OPENBLAS_NUM_THREADS=8 +ENV HF_HUB_OFFLINE=1 +ENV TRANSFORMERS_OFFLINE=1 + +USER agent diff --git a/tasks/dctabeval-aeac-pooled-cat-statistics/environment/requirements.txt b/tasks/dctabeval-aeac-pooled-cat-statistics/environment/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..e1ea870ad284ef6b36b64f7ca23230a3fc8afc76 --- /dev/null +++ b/tasks/dctabeval-aeac-pooled-cat-statistics/environment/requirements.txt @@ -0,0 +1,23 @@ +catboost==1.2.8 +contourpy==1.3.3 +cycler==0.12.1 +fonttools==4.63.0 +graphviz==0.21 +joblib==1.5.3 +kiwisolver==1.5.0 +lightgbm==4.6.0 +matplotlib==3.11.1 +narwhals==2.24.0 +numpy==2.3.4 +packaging==26.3 +pandas==2.3.3 +pillow==12.3.0 +plotly==6.9.0 +pyparsing==3.3.2 +python-dateutil==2.9.0.post0 +pytz==2026.3.post1 +scikit-learn==1.7.2 +scipy==1.16.2 +six==1.17.0 +threadpoolctl==3.6.0 +tzdata==2026.3 diff --git a/tasks/dctabeval-aeac-pooled-cat-statistics/hints/hint.md b/tasks/dctabeval-aeac-pooled-cat-statistics/hints/hint.md new file mode 100644 index 0000000000000000000000000000000000000000..6b001e2a221607b5d28ea37bfce93f9f832aeae6 --- /dev/null +++ b/tasks/dctabeval-aeac-pooled-cat-statistics/hints/hint.md @@ -0,0 +1 @@ +Count over the unlabelled pool as well as the labelled rows: occurrences of singles, pairs and triples, plus directional conditional-frequency ratios that expose the hierarchy among the identifier columns. Blend a regularised sparse logistic model over explicit interactions with gradient boosting over those counts, combining on the rank scale since the metric is AUROC. Cross-fit anything that touches the label, and down-weight pair terms involving near-duplicate columns. diff --git a/tasks/dctabeval-aeac-pooled-cat-statistics/tests/Dockerfile b/tasks/dctabeval-aeac-pooled-cat-statistics/tests/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..43fabd25f5fde157b54eeaa354d9b1900260ef88 --- /dev/null +++ b/tasks/dctabeval-aeac-pooled-cat-statistics/tests/Dockerfile @@ -0,0 +1,39 @@ +FROM --platform=linux/amd64 public.ecr.aws/docker/library/python:3.13-slim-bookworm@sha256:01f42367a0a94ad4bc17111776fd66e3500c1d87c15bbd6055b7371d39c124fb + +ENTRYPOINT [] + +RUN apt-get update \ + && apt-get install -y --no-install-recommends \ + libgomp1=12.2.0-14+deb12u1 \ + && rm -rf /var/lib/apt/lists/* \ + && command -v setsid \ + && command -v runuser + +RUN useradd --create-home --uid 1001 agent + +COPY requirements.txt /tmp/requirements.txt +COPY requirements-verifier.txt /tmp/requirements-verifier.txt +RUN python3 -m pip install --no-cache-dir \ + -r /tmp/requirements.txt \ + -r /tmp/requirements-verifier.txt \ + && rm -f /tmp/requirements.txt /tmp/requirements-verifier.txt + +COPY . /tests/ +RUN mkdir -p /app/output /logs/verifier /grade_stage /grade_work \ + && chmod +x /tests/test.sh /tests/intermediate.sh \ + && chown -R root:root /tests \ + && chmod -R go-rwx /tests \ + && chmod 700 /tests/hidden_data /tests/hidden_data/intermediate /tests/hidden_data/final /tests/hidden_data/shared + +WORKDIR /tests + +ENV PYTHONPATH= +ENV PYTHONSAFEPATH=1 +ENV PYTHONDONTWRITEBYTECODE=1 +ENV HF_HUB_OFFLINE=1 +ENV TRANSFORMERS_OFFLINE=1 + +ENV PYTHONHASHSEED=0 +ENV OMP_NUM_THREADS=8 +ENV MKL_NUM_THREADS=8 +ENV OPENBLAS_NUM_THREADS=8 diff --git a/tasks/dctabeval-aeac-pooled-cat-statistics/tests/compute_reward.py b/tasks/dctabeval-aeac-pooled-cat-statistics/tests/compute_reward.py new file mode 100644 index 0000000000000000000000000000000000000000..54501469dc5d13d792fb0b43fb9c9875e26c9f7d --- /dev/null +++ b/tasks/dctabeval-aeac-pooled-cat-statistics/tests/compute_reward.py @@ -0,0 +1,17 @@ +import json +import math +from pathlib import Path + +REWARD_PATH = Path("/logs/verifier/reward.txt") + +try: + REWARD_PATH.parent.mkdir(parents=True, exist_ok=True) + value = float(json.loads(Path("/logs/verifier/metric.json").read_text())["reward"]) + if not math.isfinite(value): + raise ValueError("non-finite reward") + reward = f"{min(1.0, max(0.0, value)):.12g}" + REWARD_PATH.write_text(reward + "\n") + print(f"reward={reward}") +except Exception as exc: + REWARD_PATH.write_text("0\n") + print(f"reward=0 (fallback: {exc})") diff --git a/tasks/dctabeval-aeac-pooled-cat-statistics/tests/grader_core.py b/tasks/dctabeval-aeac-pooled-cat-statistics/tests/grader_core.py new file mode 100644 index 0000000000000000000000000000000000000000..ded1d0556372f414de9c0ee15b7f10d78028cd59 --- /dev/null +++ b/tasks/dctabeval-aeac-pooled-cat-statistics/tests/grader_core.py @@ -0,0 +1,263 @@ +from __future__ import annotations + +import json +import os +import shutil +import stat +from pathlib import Path + +import numpy as np +import pandas as pd +from sklearn.metrics import roc_auc_score +from sklearn.model_selection import StratifiedShuffleSplit + +TESTS_DIR = Path(__file__).resolve().parent +DELIVERABLE_DIR = Path("/app/output") +ENTRY_POINT = DELIVERABLE_DIR / "solution.py" +STAGE_DIR = Path("/grade_stage") +WORK_DIR = Path("/grade_work") +LOGS_DIR = Path("/logs/verifier") +RUNNER = TESTS_DIR / "runner.py" + +HALF = os.environ.get("GRADE_SPLIT", "final") +HIDDEN_ROOT = TESTS_DIR / "hidden_data" +HIDDEN_DIR = HIDDEN_ROOT / HALF +SHARED_DIR = HIDDEN_ROOT / "shared" + +FEATURES = [f"f{i}" for i in range(9)] +LABEL = "y" + +SEEDS = tuple(range(12)) +N_TRAIN_EXTRA = 3_500 +N_UNLABELED = 10_300 +N_EVAL = 5_000 +N_TRAIN = 8_500 +N_POOL = 15_300 + +SEED_TIMEOUT_SEC = 100.0 +MAX_DELIVERABLE_BYTES = 131_072 + +TOTAL_BUDGET_SEC = 1_200.0 + +FAILED_SEED_AUC = 0.5 + +METRIC_QUANTUM = 1e-4 + +STDERR_TAIL_BYTES = 2_000 + +M0 = 0.5800 +BASELINE_SCORE = 0.9172 + + +def graded_reward(metric: float, valid: bool) -> float: + """rational_squash over the panel-mean ROC-AUC. Higher is better.""" + if not valid: + return 0.0 + x_ref = BASELINE_SCORE - M0 + assert x_ref > 0, "malformed task: the anchor does not beat the trivial baseline" + u = max(0.0, metric - M0) / x_ref + return u / (1.0 + u) + + +def load_half(half_dir: Path = HIDDEN_DIR) -> dict[str, pd.DataFrame]: + out = {} + for name, source_dir in ( + ("dev", SHARED_DIR), + ("reservoir", SHARED_DIR), + ("evalpool", half_dir), + ): + df = pd.read_csv(source_dir / f"{name}.csv") + assert list(df.columns) == FEATURES + [LABEL], (name, list(df.columns)) + out[name] = df + return out + + +def _stratified_take(y: np.ndarray, n: int, seed: int) -> tuple[np.ndarray, np.ndarray]: + """Return (taken, remaining) row-index arrays, stratified on y.""" + sss = StratifiedShuffleSplit(n_splits=1, train_size=n, random_state=seed) + taken, remaining = next(sss.split(np.zeros(len(y)), y)) + return taken, remaining + + +def build_panel_inputs(tables: dict[str, pd.DataFrame], seed: int) -> dict[str, object]: + """Deterministically build one seed's (train, pool, eval) triple. + + The sealed reservoir is partitioned into labelled-extra / unlabelled row blocks + first and rows are drawn from those blocks; the evaluation rows come from a + disjoint sealed pool that never supplies a training row. ``eval_y`` is returned + to the trusted caller only and is never written anywhere the submitted code can + read. + """ + dev, res, ep = tables["dev"], tables["reservoir"], tables["evalpool"] + + res_y = res[LABEL].to_numpy() + extra_idx, rest_idx = _stratified_take(res_y, N_TRAIN_EXTRA, seed) + unl_rel, _ = _stratified_take(res_y[rest_idx], N_UNLABELED, seed + 5_000) + unl_idx = rest_idx[unl_rel] + + ev_idx, _ = _stratified_take(ep[LABEL].to_numpy(), N_EVAL, seed + 9_000) + + train_X = pd.concat( + [dev[FEATURES], res.iloc[extra_idx][FEATURES]], ignore_index=True + ) + train_y = np.concatenate( + [ + dev[LABEL].to_numpy(dtype=np.int8), + res.iloc[extra_idx][LABEL].to_numpy(dtype=np.int8), + ] + ) + eval_X = ep.iloc[ev_idx][FEATURES].reset_index(drop=True) + eval_y = ep.iloc[ev_idx][LABEL].to_numpy(dtype=np.int8) + + pool = pd.concat([res.iloc[unl_idx][FEATURES], eval_X], ignore_index=True) + rng = np.random.default_rng(1_000_003 + seed) + pool = pool.iloc[rng.permutation(len(pool))].reset_index(drop=True) + + assert train_X.shape == (N_TRAIN, 9), train_X.shape + assert pool.shape == (N_POOL, 9), pool.shape + assert eval_X.shape == (N_EVAL, 9), eval_X.shape + assert len(train_y) == N_TRAIN and set(np.unique(train_y)) <= {0, 1} + return { + "train_X": train_X, + "train_y": train_y, + "pool_X": pool, + "eval_X": eval_X, + "eval_y": eval_y, + } + + +def write_inputs(path: Path, inputs: dict[str, object], seed: int) -> None: + """Serialise the feature-only view of one seed for the runner subprocess.""" + np.savez( + path, + train_X=inputs["train_X"].to_numpy(dtype=np.int64), + train_y=inputs["train_y"].astype(np.int8), + pool_X=inputs["pool_X"].to_numpy(dtype=np.int64), + eval_X=inputs["eval_X"].to_numpy(dtype=np.int64), + columns=np.array(FEATURES), + seed=np.int64(seed), + ) + + +class DeliverableError(RuntimeError): + """The submission is structurally unusable: the run scores exactly 0.""" + + +def stage_deliverable() -> tuple[Path, dict[str, object]]: + """Copy /app/output into a root-owned staging tree, hostile-input first. + + Every path is checked with ``lstat`` at every depth BEFORE anything is copied, and + the copy itself never follows a link (``symlinks=True``). A symlink, a hard link, + a device/fifo/socket, an over-size tree or a missing entry point is a hard failure, + not a warning: without the pre-scan a submitted + ``solution.py -> /tests/hidden_data/final/evalpool.csv`` symlink would be + materialised into a location the score is computed from. + """ + if not DELIVERABLE_DIR.is_dir(): + raise DeliverableError(f"no deliverable directory at {DELIVERABLE_DIR}") + + total = 0 + n_files = 0 + for root, dirs, files in os.walk(DELIVERABLE_DIR, followlinks=False): + for name in dirs + files: + p = Path(root) / name + st = os.lstat(p) + if stat.S_ISLNK(st.st_mode): + raise DeliverableError(f"symlink in deliverable: {p}") + if not (stat.S_ISDIR(st.st_mode) or stat.S_ISREG(st.st_mode)): + raise DeliverableError(f"not a regular file or directory: {p}") + if stat.S_ISREG(st.st_mode): + if st.st_nlink > 1: + raise DeliverableError(f"hard link in deliverable: {p}") + total += st.st_size + n_files += 1 + if total > MAX_DELIVERABLE_BYTES: + raise DeliverableError( + f"deliverable is {total} bytes, over the {MAX_DELIVERABLE_BYTES} byte limit" + ) + if not ENTRY_POINT.is_file() or ENTRY_POINT.stat().st_size == 0: + raise DeliverableError(f"missing or empty entry point {ENTRY_POINT}") + + if STAGE_DIR.exists(): + shutil.rmtree(STAGE_DIR) + shutil.copytree(DELIVERABLE_DIR, STAGE_DIR, symlinks=True) + for p in [STAGE_DIR, *STAGE_DIR.rglob("*")]: + os.chown(p, 0, 0) + os.chmod(p, 0o755 if p.is_dir() else 0o644) + return STAGE_DIR, {"deliverable_bytes": total, "deliverable_files": n_files} + + +def score_output(out_path: Path, eval_y: np.ndarray) -> tuple[str, float]: + """Validate and score one seed's output array. Never executes candidate code.""" + if not out_path.is_file(): + return "no_output", FAILED_SEED_AUC + try: + scores = np.load(out_path, allow_pickle=False) + except Exception as exc: + return f"unloadable_output:{type(exc).__name__}", FAILED_SEED_AUC + if scores.dtype.kind not in "fiub" or scores.ndim != 1 or scores.shape != (N_EVAL,): + return f"bad_shape_or_dtype:{scores.shape}:{scores.dtype}", FAILED_SEED_AUC + scores = scores.astype(np.float64) + if not np.all(np.isfinite(scores)): + return "non_finite_output", FAILED_SEED_AUC + return "ok", float(roc_auc_score(eval_y, scores)) + + +def aggregate(records: list[dict], extra: dict) -> dict: + """Assemble the metric record, including the reward, from per-seed results.""" + aucs = [float(r["auc"]) for r in records] + n_ok = sum(1 for r in records if r.get("status") == "ok") + raw = float(np.mean(aucs)) + metric = round(raw / METRIC_QUANTUM) * METRIC_QUANTUM + valid = n_ok > 0 + result = { + "half": HALF, + "seeds": list(SEEDS), + "metric_name": "mean_roc_auc_12_seed_panel", + "seed_timeout_sec": SEED_TIMEOUT_SEC, + "total_budget_sec": TOTAL_BUDGET_SEC, + "valid": valid, + "seeds_ok": n_ok, + "seeds_failed": len(records) - n_ok, + "per_seed": [ + {k: v for k, v in r.items() if k in ("seed", "status", "auc", "elapsed_sec")} + for r in records + ], + "failure_detail": [ + { + "seed": r["seed"], + "status": r.get("status"), + "stderr_tail": r.get("stderr_tail", ""), + } + for r in records + if r.get("status") != "ok" + ], + "metric_raw": raw, + "metric": metric if valid else None, + "reward": graded_reward(metric, valid), + "wall_clock_sec": round(sum(float(r.get("elapsed_sec", 0.0)) for r in records), 2), + } + result.update(extra) + if not valid: + result["invalid_reason"] = "every seed failed to produce a usable score array" + return result + + +def invalid_result(reason: str) -> dict: + """The structural-failure record: reward is exactly 0, no arithmetic involved.""" + return { + "half": HALF, + "seeds": list(SEEDS), + "metric_name": "mean_roc_auc_12_seed_panel", + "valid": False, + "invalid_reason": reason, + "seeds_ok": 0, + "seeds_failed": len(SEEDS), + "metric": None, + "reward": 0.0, + } + + +def write_metric(result: dict) -> None: + LOGS_DIR.mkdir(parents=True, exist_ok=True) + (LOGS_DIR / "metric.json").write_text(json.dumps(result, indent=2, default=str)) diff --git a/tasks/dctabeval-aeac-pooled-cat-statistics/tests/hidden_data/intermediate/evalpool.csv b/tasks/dctabeval-aeac-pooled-cat-statistics/tests/hidden_data/intermediate/evalpool.csv new file mode 100644 index 0000000000000000000000000000000000000000..3b35205ee52a4f3056208cee67139002d4bdb339 --- /dev/null +++ b/tasks/dctabeval-aeac-pooled-cat-statistics/tests/hidden_data/intermediate/evalpool.csv @@ -0,0 +1,6001 @@ +f0,f1,f2,f3,f4,f5,f6,f7,f8,y +126,41,2036,5543,91,1095,326,164,54,1 +67,179,1534,5727,155,541,112,50,23,1 +20,179,2990,4191,68,1309,360,50,23,1 +20,203,2706,5427,68,355,186,42,30,1 +20,179,500,2290,44,541,371,50,23,1 +103,278,2242,6965,162,654,83,180,64,1 +20,190,4144,8,85,671,99,1,8,1 +20,179,2581,3859,37,1402,421,50,23,1 +20,262,4078,4023,13,637,350,126,9,1 +20,79,2196,7052,74,2281,227,334,24,1 +49,138,2441,285,84,1833,243,150,42,0 +20,178,1181,4574,44,541,23,338,23,1 +120,278,1493,5568,124,654,298,180,64,1 +20,105,2377,4223,68,2202,186,325,30,1 +20,179,3567,1808,74,1402,256,50,23,1 +26,47,1216,5044,164,15,239,284,42,1 +92,302,1418,6261,65,858,429,35,13,1 +78,100,2792,595,14,235,132,30,33,1 +20,315,275,5415,63,394,185,309,23,1 +20,179,1120,3301,44,541,220,50,23,1 +20,297,1375,5555,14,1368,327,91,23,1 +20,163,1480,6450,68,1865,26,68,30,1 +20,179,1492,3187,74,1402,263,50,23,1 +20,178,2713,6094,44,541,144,338,23,1 +122,179,2834,530,167,2194,291,50,23,1 +67,179,1681,6736,155,541,105,50,23,1 +7,47,3947,36,96,15,239,284,42,1 +20,79,75,960,44,2281,440,320,24,1 +20,163,317,3428,68,1865,38,68,30,1 +20,200,1060,2228,44,1164,57,116,38,1 +20,315,922,51,44,541,6,309,23,1 +20,163,347,5152,68,1865,186,68,30,1 +79,205,3031,1963,92,277,107,263,30,1 +20,173,3414,1474,13,1223,404,151,58,1 +20,188,2415,5551,93,1437,409,236,64,1 +20,178,3186,3721,93,541,294,338,23,1 +78,47,13,2255,71,1550,149,284,42,1 +20,240,121,2350,85,1579,328,109,42,1 +20,178,2575,2984,44,541,371,338,23,1 +50,73,1255,993,156,864,326,189,54,1 +24,224,4103,4810,52,1229,149,234,42,1 +104,197,3092,6816,21,1583,372,267,58,1 +20,230,2921,6094,85,943,328,184,2,1 +20,179,3778,7164,93,541,272,50,23,1 +20,178,2066,195,37,541,393,338,23,1 +80,278,2935,7054,38,666,298,180,64,1 +20,178,290,5416,74,541,256,338,23,1 +20,154,4012,4953,85,1140,148,215,38,1 +20,179,2012,1808,68,541,183,50,23,1 +100,97,2697,4128,2,2071,170,189,54,1 +20,179,3450,439,14,541,367,50,23,1 +20,179,2030,6033,14,541,367,50,23,1 +20,179,4151,4899,68,541,386,50,23,1 +20,179,284,980,85,541,394,50,23,1 +20,154,3350,6343,44,799,381,215,38,1 +100,47,2139,4662,2,609,356,284,42,1 +20,22,2641,3529,74,2205,56,192,8,1 +20,154,3350,1392,44,799,371,215,38,1 +20,178,759,4846,85,1904,229,338,23,1 +103,297,2946,1884,136,799,371,215,38,1 +20,64,3164,473,68,1294,159,187,2,1 +103,276,2977,5037,136,852,430,8,2,1 +20,150,3491,252,37,754,55,183,6,1 +40,206,3146,3922,17,1982,364,287,64,1 +20,297,3561,6816,44,541,23,91,23,1 +20,301,2182,436,68,90,154,320,49,0 +20,178,3450,613,14,541,367,338,23,1 +20,100,284,1808,37,543,371,30,33,1 +20,198,2750,5732,68,291,230,9,30,1 +101,47,2741,59,105,15,14,284,23,1 +20,215,3879,573,68,1281,0,44,30,1 +20,151,2981,6416,13,482,404,292,8,1 +20,253,3004,252,90,674,390,276,1,1 +20,282,1451,719,85,90,99,245,49,1 +20,179,1798,4028,93,541,131,50,23,0 +20,178,1188,3036,85,541,428,338,23,0 +20,240,2230,1259,37,541,203,109,42,1 +20,52,757,6099,37,1030,192,294,13,1 +20,178,1886,5536,85,355,338,338,23,1 +20,240,898,2863,37,1579,118,109,42,1 +20,297,2817,404,85,1202,428,91,23,1 +20,178,3500,5226,63,1384,264,338,23,1 +11,236,238,226,8,1147,79,203,28,1 +81,251,3037,530,166,1498,323,0,22,1 +20,179,1693,236,93,1402,314,50,23,1 +20,105,543,5893,93,147,268,325,30,1 +103,95,132,3208,162,921,49,146,42,1 +20,138,3788,6094,85,1960,328,150,42,1 +69,109,2721,2793,134,2158,298,154,64,1 +20,267,2954,593,63,314,84,12,36,1 +20,297,2990,2283,68,541,381,91,23,1 +43,278,2609,2843,142,2108,298,180,64,1 +20,178,2514,2795,63,541,396,338,23,1 +20,190,2204,379,37,671,421,1,8,1 +20,178,2173,51,13,541,238,338,23,1 +81,178,416,5446,166,541,188,338,23,1 +92,163,3020,482,65,2093,234,68,30,1 +20,301,3107,1984,74,90,263,320,49,1 +50,174,3857,1380,156,841,356,169,54,1 +20,179,2404,2432,14,541,295,50,23,1 +20,105,2377,5427,68,2202,186,325,30,1 +80,13,2150,3922,38,1316,54,313,64,1 +20,300,424,5568,37,90,79,227,28,0 +20,179,697,4439,93,541,251,50,23,1 +20,178,1934,1009,85,541,279,338,23,1 +119,33,311,4824,168,1701,186,336,13,1 +20,154,4012,4981,85,2083,148,215,38,1 +15,99,3720,1406,101,15,124,302,54,1 +20,285,2954,5385,63,120,84,55,36,1 +20,179,2864,5713,37,541,421,50,23,1 +20,297,4076,861,14,1402,367,91,23,1 +20,248,2393,3858,74,2205,361,98,10,1 +67,297,603,3641,155,741,105,91,23,1 +20,302,2771,6683,44,34,403,35,13,1 +20,297,1884,1949,13,741,71,91,23,1 +20,179,341,1039,37,541,393,50,23,1 +20,186,1066,6816,44,2270,348,65,58,1 +80,187,198,6450,38,296,379,330,28,1 +20,62,2189,4955,74,1408,49,295,23,1 +62,73,3636,51,49,1972,124,189,54,1 +110,47,3771,3380,120,15,239,284,42,1 +20,179,1373,6094,63,541,396,50,23,1 +96,145,2504,1799,23,1434,234,73,60,1 +96,99,1936,5722,97,2037,356,302,54,1 +67,264,2093,2715,155,215,431,111,57,0 +20,150,3565,146,37,1190,171,183,6,1 +20,302,3739,119,13,1415,121,35,13,1 +107,179,115,51,98,541,299,50,23,1 +20,301,2305,530,13,90,75,320,49,1 +20,282,231,6733,74,90,237,245,49,1 +20,140,3100,658,74,531,361,49,30,1 +83,12,406,1747,44,857,403,21,42,1 +11,278,2011,4847,8,1699,283,180,64,0 +10,214,1574,2884,36,930,330,175,32,1 +81,179,1060,2120,166,541,57,50,23,1 +20,179,710,5957,37,1309,203,50,23,1 +20,301,726,2226,14,90,233,320,49,1 +81,297,2591,3391,166,1368,52,91,23,1 +20,297,2387,6041,85,541,305,91,23,1 +20,178,2469,6655,85,541,287,338,23,0 +20,178,1232,2268,44,541,381,338,23,1 +20,277,3454,4496,63,394,185,52,23,1 +86,102,2047,614,81,33,58,160,51,1 +20,100,2922,2312,85,235,338,30,33,1 +20,105,2573,4485,68,2202,186,325,30,1 +49,99,3988,1056,64,2089,14,302,54,1 +20,272,3424,127,85,671,37,95,8,1 +20,178,2829,5226,68,1402,28,338,23,1 +20,178,3497,2701,68,1402,186,338,23,1 +20,103,2513,3858,93,529,315,253,57,1 +20,178,1463,7059,14,541,39,338,23,1 +20,179,3501,108,37,541,304,50,23,1 +20,282,3538,6261,63,1369,84,245,49,1 +65,178,1754,5863,137,541,385,338,23,1 +20,297,663,5753,85,741,229,91,23,1 +10,236,2501,2926,36,1998,378,203,28,1 +20,178,907,5120,93,1384,12,338,23,1 +81,179,1976,5275,166,541,52,50,23,1 +20,132,1346,6940,68,1187,197,83,30,1 +88,99,149,5044,100,2089,356,302,54,1 +20,282,629,1585,37,1172,391,245,49,1 +20,240,1902,7071,44,354,211,109,42,1 +20,178,3685,1808,13,541,75,338,23,1 +20,179,1030,530,13,541,346,50,23,1 +10,12,2144,1978,95,1839,414,21,42,1 +20,154,3967,5507,14,625,340,215,38,1 +103,196,2946,2221,162,2041,371,135,38,1 +20,140,225,7071,93,510,378,49,30,1 +20,196,1509,3284,85,799,148,135,38,1 +113,300,1189,609,47,1565,379,227,28,1 +20,178,907,7115,93,1384,12,338,23,1 +20,215,2433,226,44,2122,403,44,30,1 +31,207,1242,2476,140,1494,424,272,13,1 +81,154,1636,3723,166,1164,238,215,38,1 +69,109,2847,3302,134,2158,298,154,64,1 +7,73,2518,1535,96,447,14,189,54,1 +20,84,3551,1808,68,1766,159,239,2,1 +31,224,2991,1424,140,1229,149,234,42,1 +20,178,1541,1949,13,541,139,338,23,1 +10,133,2279,1177,66,1494,124,300,11,1 +20,274,3758,7119,68,2202,1,264,30,1 +20,64,911,483,63,709,47,187,2,1 +89,73,2257,3768,32,177,170,189,54,1 +7,73,2518,4201,96,447,14,189,54,1 +96,99,1916,6766,23,2089,356,302,54,1 +72,32,2714,4582,143,15,149,210,42,1 +81,179,3685,658,166,541,373,50,23,1 +20,296,719,1123,85,892,19,172,47,1 +43,83,2218,2843,142,384,298,290,64,1 +20,100,953,2915,37,543,271,30,33,1 +20,254,3763,4276,44,574,357,38,30,1 +20,179,666,3208,93,541,12,50,23,1 +20,179,1726,5507,74,541,256,50,23,1 +20,178,3561,5732,44,541,23,338,23,1 +20,178,2381,3010,68,541,144,338,23,1 +20,219,2204,5013,37,1899,421,133,37,0 +122,197,3944,6872,72,1583,413,278,58,1 +20,178,1348,3508,37,541,209,338,23,1 +20,297,2528,6607,44,741,382,91,23,1 +20,178,676,1300,44,541,112,338,23,0 +20,230,917,6816,85,1734,328,184,2,1 +20,112,1292,6683,68,509,1,277,53,1 +20,154,4012,3889,85,1140,148,215,38,1 +20,297,2694,4556,44,1077,382,91,23,1 +20,307,116,3589,14,541,295,338,23,1 +20,178,3282,51,68,1402,158,338,23,1 +20,178,3500,6313,63,541,264,338,23,1 +5,73,781,1799,148,1690,170,189,54,1 +43,278,505,375,142,817,54,180,64,1 +20,154,3296,1552,13,360,139,215,38,1 +20,285,4154,4223,13,357,121,55,36,1 +20,230,2886,2926,93,805,254,184,2,1 +20,306,3484,5427,44,2208,210,41,58,1 +20,200,669,4845,13,1432,238,116,38,1 +20,37,2338,2669,44,1499,0,286,53,1 +20,178,3737,6074,13,1402,139,338,23,1 +20,178,1181,6877,44,541,285,338,23,1 +20,178,3850,51,44,332,220,338,23,1 +28,179,432,51,104,541,117,50,23,1 +20,84,228,662,90,3,226,239,2,1 +81,139,2955,6357,166,1463,52,271,9,1 +49,99,69,285,64,2089,14,302,54,1 +20,297,2970,4872,44,541,381,91,23,1 +119,263,4148,5406,168,1827,169,171,30,1 +119,263,4148,236,168,1827,169,171,30,1 +125,99,3272,5887,170,1490,124,302,54,1 +20,67,2655,6869,13,961,64,67,14,1 +62,99,920,4090,49,963,124,302,54,1 +20,105,2897,654,44,1151,210,325,30,1 +20,178,1060,5224,44,541,57,338,23,1 +20,62,2193,6460,74,2301,49,295,23,1 +20,230,1811,1125,85,805,430,184,2,1 +20,282,1214,6664,93,90,222,245,49,1 +20,262,2317,1949,13,637,350,126,9,1 +20,84,2695,4824,93,1766,159,239,2,1 +20,179,316,6803,93,111,30,50,23,1 +20,62,3024,5398,68,541,174,338,23,1 +20,240,3065,6619,85,1637,99,109,42,1 +20,179,2909,51,44,541,270,50,23,1 +20,151,4176,6094,74,1156,56,292,8,1 +110,311,2418,2341,120,47,140,328,44,1 +20,59,1629,7119,93,1400,77,214,12,0 +107,203,4081,1222,98,1493,416,42,30,1 +10,179,5,3089,36,541,335,50,23,1 +20,178,3647,5862,85,541,177,338,23,1 +89,99,2602,1721,44,2089,356,302,54,1 +20,204,1302,51,14,1609,41,319,23,1 +96,138,1756,2375,23,1247,281,150,42,1 +20,297,3736,4033,74,541,256,91,23,0 +90,109,48,5568,119,654,258,154,64,1 +10,73,3611,4513,66,1691,149,189,54,1 +20,86,1319,2993,93,1026,385,219,0,1 +44,278,3892,1573,38,1405,83,180,64,1 +31,207,1242,1429,140,1494,424,272,49,1 +63,163,1695,5107,30,1865,107,68,30,1 +20,297,3509,1560,74,198,5,91,23,1 +116,148,2000,2623,75,404,191,115,53,1 +120,278,567,7145,124,817,54,180,64,1 +20,178,3358,186,14,541,327,338,23,1 +20,100,2792,1567,14,235,437,30,33,1 +20,179,63,3362,37,541,393,50,23,1 +11,185,853,457,8,1079,296,174,60,1 +122,297,3223,530,167,1243,100,91,23,1 +20,67,3468,6469,44,961,61,67,14,1 +116,211,3603,3650,75,792,101,235,2,1 +20,178,1296,3187,44,541,371,338,23,1 +81,179,1103,664,166,541,272,50,23,1 +20,104,430,4891,93,1392,150,60,9,1 +20,282,656,1687,74,90,56,245,49,1 +20,302,355,3153,68,1027,316,35,13,1 +20,178,2540,2924,93,541,12,338,23,1 +96,73,1936,4986,97,1879,356,189,54,1 +10,179,1974,6036,36,541,81,50,23,1 +85,187,2315,4702,16,296,379,330,28,1 +33,195,1712,1556,82,1284,75,64,17,1 +20,138,3347,3101,44,17,155,150,42,1 +20,315,3454,991,63,1340,264,309,23,1 +20,104,430,2239,93,546,150,60,9,1 +89,47,2596,3092,32,15,239,284,42,1 +71,178,34,5993,110,541,144,338,23,1 +110,99,2986,3380,120,2089,14,302,54,1 +60,178,2722,3907,69,541,355,338,23,1 +20,179,1817,4074,63,465,264,50,23,1 +20,178,2208,119,13,1243,238,338,23,1 +20,14,2929,1978,93,1865,378,130,47,1 +20,211,917,2026,85,819,328,235,2,1 +20,103,915,5224,63,595,396,253,57,1 +20,203,84,5732,68,390,1,42,30,1 +20,43,1346,5152,68,1281,197,257,30,1 +94,73,1542,1056,53,699,14,189,54,1 +88,73,2287,2413,100,1793,170,189,54,1 +20,179,1514,1009,13,541,219,50,23,1 +20,240,770,3411,85,1579,141,109,42,1 +20,282,3357,1151,13,1172,109,245,49,1 +20,154,119,2952,44,1194,220,215,38,1 +20,178,1762,6617,93,1402,314,338,23,1 +20,89,1849,5732,74,2231,361,226,40,1 +20,178,1117,51,68,23,182,338,23,1 +103,95,3284,5220,136,921,328,146,42,0 +90,271,1387,4668,163,654,277,186,32,1 +20,297,365,51,68,2055,207,91,23,1 +20,178,2265,7192,44,1402,48,338,23,1 +20,302,243,482,44,858,144,35,13,1 +20,178,3501,2465,37,541,304,338,23,1 +20,154,4125,2505,44,799,382,215,38,1 +103,154,2946,5594,136,799,371,215,38,1 +20,297,1939,1808,68,379,335,91,23,1 +20,178,192,4195,44,541,371,338,23,1 +10,179,3301,51,36,541,204,50,23,1 +20,297,1297,118,68,379,144,91,23,1 +20,204,727,1339,14,2119,327,319,23,1 +20,198,2414,7071,68,2202,186,9,30,1 +20,203,84,1015,68,390,1,42,30,1 +80,187,3379,2566,38,296,379,330,28,1 +89,47,2497,5458,33,15,356,284,42,1 +20,59,1482,3208,63,2124,420,214,12,1 +20,194,1140,4850,37,135,421,13,24,1 +20,78,123,719,74,1779,237,223,50,1 +20,178,2683,4317,85,541,293,338,23,1 +20,178,444,6845,44,1402,371,338,23,1 +122,227,2505,3815,167,60,75,5,56,1 +20,274,1480,4115,68,2202,186,264,30,1 +20,197,323,5172,44,475,348,278,58,1 +20,173,3188,4067,44,1519,32,151,58,1 +89,99,2933,3199,5,2089,239,302,54,1 +20,122,962,2018,63,394,185,163,23,1 +20,179,1314,6824,14,541,39,50,23,1 +20,178,2627,1833,37,541,192,338,23,1 +20,179,590,3369,37,541,192,50,23,1 +20,230,2976,2891,44,805,104,184,2,1 +20,182,2190,1352,93,2205,378,238,33,1 +20,173,1264,1358,63,1223,192,151,58,1 +20,282,118,119,68,2255,366,245,49,1 +20,173,757,5226,37,1465,125,151,58,1 +62,138,1824,6839,49,937,124,150,42,1 +20,34,4080,5427,13,2174,75,251,49,0 +107,132,2167,4824,98,2095,210,83,30,1 +20,138,3350,5507,44,1892,371,150,42,1 +20,179,500,1329,44,541,418,50,23,1 +20,178,3024,3878,68,1402,174,338,23,1 +20,190,2204,5512,37,671,421,1,8,1 +119,203,688,6094,168,2272,406,42,30,1 +20,179,1060,4666,44,541,57,50,23,1 +20,297,830,2456,14,741,5,91,23,1 +20,203,611,4616,44,1966,231,42,30,1 +17,99,408,5501,122,1490,124,302,54,1 +20,297,2837,3501,37,741,192,91,23,1 +20,214,2121,2965,37,1102,330,175,32,1 +80,307,1692,3529,38,431,54,228,64,1 +91,179,3510,6985,130,541,177,50,23,1 +20,179,1693,777,93,1402,314,50,23,1 +20,10,2357,6587,156,91,6,199,24,1 +96,99,3176,1799,97,2089,356,302,54,1 +103,83,4017,6442,162,384,83,290,64,1 +116,215,1791,1808,75,1461,130,44,30,1 +20,64,3775,829,68,1294,159,187,2,1 +20,301,2340,1073,68,90,144,320,49,1 +116,179,1016,1468,166,541,238,50,23,1 +125,99,1170,64,121,963,124,302,54,1 +20,219,1693,2579,93,1084,314,133,37,1 +20,150,764,2566,37,1190,118,183,6,1 +116,301,3946,5226,75,90,220,320,49,1 +20,301,2512,456,85,1998,301,320,49,1 +10,187,2336,875,36,296,330,330,28,1 +20,173,3310,7119,44,401,146,151,58,1 +107,37,2443,4223,98,55,445,286,53,1 +20,236,120,6638,85,1592,116,203,28,1 +20,200,3350,6567,44,799,371,116,38,1 +116,276,795,3650,75,236,101,8,2,1 +122,235,857,7189,72,541,71,229,9,0 +20,178,1762,42,93,1402,314,338,23,1 +103,187,2846,7063,162,1917,379,330,28,0 +20,208,3474,5343,44,651,231,326,53,1 +20,303,2104,3571,37,1190,194,243,6,1 +20,240,2932,6450,44,354,210,109,42,1 +81,297,2591,4398,166,1368,52,91,23,1 +20,179,498,51,14,541,52,50,23,1 +20,85,239,2906,90,2196,221,262,31,1 +20,297,979,4987,68,1202,157,91,23,1 +11,187,3732,6450,8,296,330,330,28,1 +20,105,543,3142,93,147,268,325,30,1 +20,173,3226,4824,68,710,334,151,58,0 +13,111,2368,7008,152,2193,58,281,51,1 +20,240,11,3208,74,354,56,109,42,1 +116,276,2351,3650,75,236,101,8,2,1 +125,99,3345,6254,121,1490,124,302,54,1 +39,99,3660,448,154,1490,124,302,54,1 +20,132,3700,2027,44,1259,319,83,30,1 +15,73,1488,4052,101,1972,124,189,54,1 +11,236,238,6816,8,1147,79,203,28,1 +20,179,3038,51,136,90,371,50,23,1 +86,99,536,1969,147,2089,170,302,54,1 +20,100,2158,4630,85,235,338,30,33,1 +90,109,3041,4022,163,2170,317,154,64,1 +20,179,1678,4759,37,541,393,50,23,1 +20,180,3022,3365,93,1202,11,144,34,1 +20,179,2219,3915,68,541,157,50,23,1 +20,179,1232,4716,44,541,360,50,23,1 +6,179,3444,1156,6,2199,369,50,23,1 +20,302,3630,5732,68,968,144,35,13,1 +116,276,1795,5275,75,236,101,8,2,1 +20,163,347,5732,68,1865,186,68,30,1 +20,173,654,4768,68,680,411,151,58,1 +126,99,1018,4317,91,1690,356,302,54,1 +20,173,905,1925,13,1135,404,175,58,1 +43,109,351,5568,142,93,298,154,64,1 +20,179,1117,3425,68,23,207,50,23,1 +20,197,2557,2483,37,1956,178,278,58,0 +20,240,2600,4108,68,1247,207,109,42,1 +20,122,3084,1342,14,394,327,163,23,1 +49,254,3763,1110,44,574,357,38,30,1 +20,179,3523,5292,85,1402,297,50,23,1 +103,276,3822,5030,136,2117,328,8,2,1 +20,178,3531,4765,68,541,381,338,23,1 +20,17,3882,1217,85,656,206,69,62,1 +20,190,1077,1487,85,671,322,1,8,1 +20,248,3224,6131,44,2205,32,98,10,1 +20,150,1833,3891,37,1190,178,183,6,1 +20,297,494,231,85,741,177,91,23,1 +62,174,3744,4858,49,1603,124,169,54,1 +20,310,3474,5370,44,651,43,258,60,1 +92,163,3020,2618,65,2093,234,68,30,1 +20,178,3344,5432,14,1384,327,338,23,1 +20,297,2106,5093,85,741,279,91,23,0 +20,178,1975,5507,68,541,381,338,23,1 +20,179,2638,5770,37,541,393,50,23,1 +119,205,3973,4276,168,419,438,263,30,1 +20,301,52,6094,85,242,224,320,49,1 +20,297,633,3555,13,1202,278,91,23,1 +20,236,2080,739,93,1998,272,203,28,1 +20,178,1081,2877,37,1384,393,338,23,1 +20,138,3839,3208,74,392,56,150,42,1 +20,82,961,2854,85,907,293,176,8,1 +55,187,2907,3142,70,1669,379,245,28,1 +20,301,804,2280,68,90,360,320,49,0 +10,47,1548,6690,66,15,149,284,42,1 +20,179,63,1073,37,541,393,50,23,1 +121,313,2836,5072,161,47,140,178,44,1 +107,30,436,2054,98,243,6,110,40,0 +20,182,1537,5259,74,235,91,238,33,1 +20,306,2939,4468,44,1583,32,41,58,1 +96,99,1916,2229,23,2089,356,302,54,1 +83,47,270,1380,84,2089,356,284,42,0 +20,274,2558,4093,68,2202,186,264,30,1 +20,197,3156,5427,68,1869,186,278,58,1 +55,261,2647,420,70,1337,184,10,65,1 +84,99,1386,3312,48,2089,239,302,54,1 +43,278,3540,5440,142,817,54,180,64,0 +96,73,1045,1799,23,752,356,189,54,1 +20,179,2265,1094,44,541,48,50,23,1 +20,154,649,2599,13,799,238,215,38,1 +20,179,3101,42,93,541,314,50,23,1 +20,179,118,51,68,541,366,50,23,1 +20,308,3798,6478,37,854,209,207,12,1 +20,297,2588,3208,74,1368,237,91,23,1 +20,301,3563,3774,37,90,421,320,49,1 +55,278,468,6055,70,306,364,180,64,1 +20,179,1513,861,68,541,174,50,23,1 +20,288,3934,956,85,541,338,282,55,0 +20,267,497,5256,37,926,393,12,36,1 +125,174,3235,2130,121,16,124,169,54,1 +20,173,997,530,93,1047,22,151,58,1 +80,206,801,1873,38,431,298,287,64,1 +10,179,2352,861,36,1773,204,50,23,1 +20,178,3165,5507,37,541,393,338,23,1 +20,100,2792,5200,14,235,351,30,33,1 +20,282,23,51,13,1369,373,245,49,1 +20,62,2189,2344,74,1408,49,295,23,1 +20,282,3357,482,13,1068,109,245,49,1 +88,73,1354,1649,100,250,170,189,54,1 +20,178,171,5507,63,1402,433,338,23,1 +20,179,2540,5582,93,541,12,50,23,1 +89,138,449,3092,5,1546,289,150,42,1 +116,173,3371,4090,75,470,232,151,58,1 +20,302,2449,482,74,980,267,35,13,1 +43,83,1820,7186,142,820,298,290,64,1 +20,69,262,5651,93,1031,142,11,13,1 +20,297,3791,5299,85,2245,87,91,23,1 +20,178,2970,5772,44,541,360,196,23,1 +20,10,1140,51,37,954,421,199,24,1 +20,219,2979,3082,14,1899,41,133,37,1 +44,138,3116,5357,108,2130,426,150,42,1 +20,178,2294,5130,37,541,271,338,23,1 +20,255,4014,4683,85,1002,328,267,38,1 +20,64,2492,1060,37,1294,153,187,2,1 +20,170,2884,6210,44,1294,104,179,2,1 +20,297,252,5507,14,1121,5,91,23,1 +20,301,2792,3028,14,90,437,320,49,1 +20,182,2190,6308,93,2205,378,238,33,1 +20,302,202,6094,68,858,186,35,13,0 +81,262,2591,2490,166,637,52,126,9,1 +20,178,2469,2472,85,541,287,338,23,1 +20,154,2554,956,37,799,393,215,38,1 +20,302,3863,5226,13,95,358,35,13,1 +67,179,744,6617,131,541,294,50,23,1 +20,190,1741,75,85,409,297,1,8,1 +94,73,4054,5150,53,1879,356,189,54,0 +20,151,4176,6186,74,2205,56,292,8,1 +20,302,732,6261,63,858,167,35,13,1 +78,133,1351,7006,71,166,424,300,11,1 +20,154,2163,530,13,799,238,215,38,1 +4,160,2926,4603,151,567,294,288,37,1 +20,318,997,4190,93,617,22,94,60,1 +20,165,72,5261,37,651,393,232,53,0 +20,179,3907,3993,14,541,5,50,23,1 +43,13,2609,4595,142,654,298,313,64,1 +20,160,3993,2495,13,567,238,288,37,1 +20,287,2802,3175,44,941,146,75,0,1 +20,178,1211,2781,93,2055,294,338,23,0 +10,335,1858,4467,54,1150,146,311,14,0 +20,179,1741,1560,85,541,297,50,23,1 +83,73,876,6528,56,407,326,189,54,1 +20,179,2484,1567,68,1402,366,50,23,1 +20,178,284,5511,85,541,394,338,23,1 +122,297,2172,5253,72,779,52,91,23,1 +20,260,1919,3721,44,164,259,63,11,1 +20,178,3282,482,68,541,158,338,23,1 +20,179,2318,51,14,541,327,50,23,1 +20,160,3561,6721,60,567,285,288,37,1 +20,301,3914,4841,14,90,46,320,49,1 +20,179,1917,3595,74,541,263,50,23,1 +20,178,3119,861,14,541,367,338,23,1 +20,315,68,4749,68,541,366,309,23,1 +20,179,197,5822,85,541,287,50,23,1 +101,47,357,59,105,15,239,284,42,1 +103,187,1041,6450,162,1917,379,330,28,1 +20,282,3051,3980,68,1277,144,245,49,1 +20,178,1513,5507,68,541,174,338,23,1 +20,179,49,51,44,23,144,50,23,1 +10,179,3963,3208,36,586,23,50,23,1 +20,178,3737,4655,48,1402,139,338,23,1 +120,278,95,3565,124,1586,54,180,64,1 +20,178,1768,5991,74,1402,256,338,23,1 +80,206,766,5492,38,431,298,287,64,1 +78,73,2782,5813,71,1879,149,189,54,1 +62,99,2293,3350,49,1490,124,302,54,1 +107,222,3499,1125,98,818,430,279,42,1 +20,236,120,6115,85,1186,116,203,28,1 +20,190,3723,2079,85,671,290,1,8,1 +20,315,572,5067,14,541,233,309,23,1 +20,301,2551,6168,44,90,371,320,23,1 +20,203,932,466,44,1382,130,42,30,1 +20,198,2558,4223,68,2202,186,9,30,1 +122,48,3326,6872,167,1831,75,261,56,1 +20,230,3864,5732,13,805,254,184,2,1 +81,178,763,2564,166,541,188,338,23,1 +20,240,3833,2356,93,2205,251,109,42,1 +40,83,3940,7140,17,1150,298,290,64,1 +20,301,3914,51,14,90,46,320,49,1 +20,84,3551,5427,68,1766,159,239,2,1 +90,278,3961,4939,163,839,54,180,64,1 +83,174,3279,1887,56,1690,326,169,54,1 +20,139,3751,4005,37,637,192,271,9,1 +30,174,638,4805,46,1490,124,169,54,1 +20,178,66,5745,44,541,382,338,23,1 +20,78,3163,3331,74,1896,237,223,50,1 +20,178,460,5507,68,1384,381,338,23,1 +20,230,595,6308,85,1766,328,184,2,1 +20,178,1939,2555,68,1384,335,338,23,1 +20,240,2570,5427,44,354,210,109,42,0 +20,121,3371,2623,44,198,157,78,13,1 +20,200,1904,6094,37,1276,16,116,38,1 +20,297,3737,3985,13,241,139,91,23,1 +49,73,3847,2786,84,1571,170,189,54,1 +20,12,2696,3193,90,2261,311,21,42,1 +20,79,1965,5226,13,1935,372,334,24,1 +20,178,177,4547,44,541,382,338,23,1 +69,278,2901,2184,134,1663,298,180,64,1 +20,301,1738,3187,37,1272,192,320,49,0 +20,272,3424,143,85,671,37,95,8,1 +20,303,1750,482,37,1190,442,243,6,1 +20,121,70,4503,93,858,251,78,13,1 +81,262,2591,112,166,637,52,126,9,1 +10,10,968,3208,36,924,378,199,24,1 +20,178,1741,119,13,541,75,338,23,1 +20,10,3830,4521,85,2281,177,199,24,1 +20,178,2638,956,37,1402,393,338,23,1 +20,178,1525,6123,44,541,112,338,23,1 +20,219,3936,6974,14,350,233,133,37,1 +107,203,2466,1967,98,2006,134,42,30,1 +20,105,3474,4406,44,1074,231,325,30,1 +81,179,2560,3981,170,541,52,50,23,1 +20,178,1928,4956,74,541,256,338,23,1 +20,215,1086,2398,44,145,231,44,30,1 +98,184,2252,3922,130,110,362,161,10,1 +20,179,3501,1473,37,541,304,50,23,0 +20,297,916,3774,37,731,421,91,23,1 +20,297,2097,3785,13,731,64,91,23,0 +20,315,2129,5507,93,541,314,309,23,1 +24,73,3704,2229,52,1879,149,189,54,1 +20,228,3768,6726,85,899,229,37,23,1 +20,179,2990,5608,68,541,381,50,23,1 +20,198,2750,6094,68,291,408,9,30,1 +20,262,501,777,13,773,75,126,9,1 +20,277,1470,6422,14,626,5,52,23,1 +126,174,1523,3768,91,841,348,169,64,1 +20,86,2732,466,68,422,360,219,0,1 +20,179,1803,4821,44,541,23,50,23,1 +120,83,950,7135,124,384,298,290,64,1 +4,309,3138,861,151,541,294,79,26,1 +20,190,649,6208,44,434,371,1,8,1 +20,179,3183,4568,63,541,433,50,23,1 +20,100,2792,6704,14,235,437,30,33,1 +20,178,3800,2245,68,541,144,338,23,1 +20,178,2837,1833,37,332,192,338,23,1 +20,282,3935,2555,85,198,368,245,49,1 +20,248,2393,5006,74,2205,361,98,10,1 +7,73,3978,97,109,1134,356,189,54,1 +90,261,362,482,163,178,275,10,65,1 +43,278,2201,2843,142,2108,298,180,64,0 +21,99,4171,1362,150,1690,149,302,54,1 +20,204,3461,2248,14,2119,295,319,23,1 +110,99,1815,7228,120,2089,356,302,54,0 +20,179,49,688,44,541,144,50,23,1 +20,215,1867,2772,68,1415,351,44,30,1 +91,278,3102,252,130,1633,298,180,64,0 +67,179,1979,1242,155,541,202,50,23,1 +20,240,2932,3243,44,354,210,109,42,1 +20,16,2253,3774,37,1080,55,66,6,1 +20,178,526,2208,14,541,340,338,23,1 +20,179,3436,3607,93,541,314,50,23,1 +14,105,1971,1963,89,1474,107,325,30,1 +20,235,501,51,13,1137,75,229,9,1 +20,306,678,3338,68,1445,281,41,58,1 +90,83,3041,4022,163,1511,298,290,64,1 +20,303,1583,5279,37,1190,55,243,6,1 +20,64,3775,1808,68,1294,159,187,2,1 +20,236,2038,5275,68,1998,257,203,28,1 +20,37,520,788,68,1499,400,286,53,1 +20,190,1077,4611,85,671,322,1,8,1 +20,303,1750,3774,37,1190,442,243,6,1 +20,236,2549,3523,63,1806,264,203,28,1 +20,179,1810,1239,68,541,186,50,23,1 +20,105,524,7119,44,796,416,325,30,1 +20,179,187,1041,44,1402,382,50,23,1 +116,37,790,431,75,295,0,286,53,1 +20,297,2837,2612,37,2292,192,91,23,1 +20,334,3156,6094,68,835,186,335,33,1 +20,178,1762,3192,93,541,314,338,23,1 +60,178,1821,5646,69,541,145,338,23,0 +20,79,401,4361,37,152,108,334,24,1 +103,196,132,6815,136,799,263,135,38,1 +90,261,362,1795,163,178,275,10,65,1 +20,178,1224,3271,44,541,371,338,23,1 +33,272,3370,3758,82,1695,15,95,8,1 +20,178,2567,7083,37,541,391,338,23,1 +20,84,4020,7044,90,1766,311,239,2,1 +69,109,4153,3010,134,194,298,154,64,1 +20,173,1465,265,74,826,91,151,58,1 +20,178,2106,3208,85,541,279,338,23,1 +20,301,992,1805,68,90,281,320,49,1 +43,83,2194,7226,142,384,298,290,64,0 +20,297,2220,6450,63,744,396,91,23,1 +69,236,83,6512,134,1998,379,203,28,1 +116,248,1795,7011,75,1214,101,184,2,1 +20,297,2539,2624,85,541,428,91,23,1 +20,178,3165,5321,37,541,393,338,23,1 +116,230,3603,2355,75,792,101,184,2,1 +20,121,1951,6706,13,968,373,78,13,0 +55,197,2346,1906,70,1286,153,278,58,1 +90,106,2720,2566,163,176,330,256,32,1 +20,121,70,5224,93,858,251,78,13,1 +20,79,256,5507,68,2026,362,334,24,1 +107,37,2827,2669,98,55,136,286,53,1 +20,173,664,1897,44,1583,440,151,58,1 +81,56,1533,6366,166,2036,339,121,38,1 +20,179,4065,4223,63,541,126,50,23,1 +20,282,3773,3815,37,1172,393,245,49,1 +7,47,835,6436,96,15,356,284,42,1 +20,182,2190,5224,93,2205,378,238,33,1 +20,230,2295,2286,90,3,226,184,2,1 +20,150,1833,252,37,633,442,183,6,1 +62,272,1545,2311,49,590,310,95,8,1 +20,301,2732,861,68,90,381,320,49,1 +20,170,2884,6941,44,1294,104,179,2,0 +20,178,2410,3909,44,541,23,338,23,1 +116,37,790,2623,75,295,0,286,53,1 +20,178,2208,2812,13,541,238,338,23,1 +103,179,33,7112,136,541,49,50,23,1 +20,64,3775,4824,68,1115,159,187,2,1 +20,179,162,5152,68,541,8,50,23,1 +20,203,3066,2002,93,355,268,42,30,1 +20,10,17,4059,68,2281,351,199,24,1 +20,34,979,7119,68,1383,157,251,49,1 +20,203,611,4765,44,1966,231,42,30,1 +20,178,652,3464,63,2105,429,338,23,1 +20,7,2239,751,37,2133,330,18,32,1 +9,32,587,2255,10,15,149,210,42,1 +20,179,63,2354,37,637,393,50,23,1 +96,99,1241,5127,23,2089,356,302,54,1 +20,147,1713,1387,93,689,315,7,5,1 +20,140,2031,883,93,1085,378,49,30,1 +44,335,2455,1056,108,1236,170,311,14,1 +103,109,4017,3642,162,654,83,154,64,1 +20,178,2127,1722,74,541,256,338,49,0 +20,301,3694,6469,37,90,304,320,49,1 +122,178,827,1009,167,541,344,338,23,1 +101,99,779,3649,105,2089,170,302,54,1 +84,73,3777,3622,48,1879,239,189,54,1 +20,303,1833,5071,37,903,442,243,6,1 +0,99,354,3077,67,1690,326,302,54,0 +20,121,3935,1141,85,198,177,78,13,0 +103,179,844,223,136,1318,382,50,23,1 +27,73,3430,3768,57,70,356,189,54,1 +20,179,3808,51,85,1402,177,50,23,1 +67,179,4029,6291,155,1264,18,50,23,1 +20,178,2864,2692,37,541,421,338,23,1 +20,179,916,545,37,541,421,50,23,1 +20,196,3463,4244,37,799,393,135,38,1 +122,178,2617,1642,93,2194,291,338,23,1 +20,150,1583,4149,37,2308,55,183,6,1 +89,138,687,949,5,1814,289,150,42,1 +20,62,2189,1903,74,1408,49,295,23,1 +20,179,1117,51,68,541,314,50,23,1 +83,138,234,3944,56,430,124,150,42,1 +20,179,3291,4223,68,541,362,50,23,1 +20,282,2137,1808,14,90,295,245,49,1 +73,51,3432,246,132,1836,154,260,2,1 +20,43,2337,6308,68,1281,445,257,30,1 +103,139,1347,2932,136,637,343,271,9,1 +20,197,2146,2639,93,814,78,278,58,1 +20,13,1483,5568,39,1684,302,313,64,1 +20,62,3652,7192,85,521,301,295,23,1 +20,297,2289,6480,44,1202,158,91,23,1 +81,262,1322,3699,166,637,272,126,9,1 +20,160,3350,4933,44,567,371,288,37,1 +20,34,2473,6094,85,231,363,251,49,1 +20,240,2294,5507,37,1637,271,109,42,1 +20,103,2654,5224,68,525,445,253,57,1 +122,297,2389,1151,72,1243,433,91,23,1 +20,276,3257,2262,85,785,328,8,2,1 +49,73,1097,1094,84,1879,356,189,54,1 +49,47,3273,921,64,15,356,284,42,1 +20,182,4118,588,74,21,56,320,33,1 +122,195,2625,1151,167,919,75,64,17,1 +20,197,1980,3858,93,1648,76,278,58,1 +20,240,641,5732,44,354,231,109,42,1 +20,179,2752,2658,85,541,297,50,23,1 +20,137,2876,2414,44,2141,58,241,51,1 +4,178,3838,2084,151,541,294,338,23,1 +20,303,3491,412,37,1190,55,243,6,1 +81,315,2915,2427,166,394,238,309,23,1 +62,73,1223,3621,49,1972,124,189,54,1 +20,219,2204,727,37,1899,421,133,37,0 +20,203,2927,1967,44,975,231,42,30,1 +20,198,2758,6511,44,1641,134,9,30,1 +20,178,3800,2666,68,541,144,338,23,1 +20,301,1579,468,44,1578,32,320,49,1 +20,178,2127,2098,74,541,256,338,23,0 +90,187,1130,4939,163,296,379,330,28,1 +20,204,2130,3717,14,2119,367,319,23,1 +20,43,1951,236,13,1281,80,257,30,1 +113,141,415,6816,47,1222,360,128,14,1 +81,178,1976,3566,166,541,52,338,23,1 +20,1,3082,3908,74,614,263,247,37,0 +20,301,1066,6094,44,90,348,320,49,1 +20,200,3652,5806,85,521,301,116,38,1 +12,240,2685,4891,15,1820,148,109,42,1 +20,240,2972,2350,85,354,430,109,42,1 +20,240,1063,3208,93,354,131,109,42,1 +109,240,575,4762,35,1420,321,109,42,1 +20,274,2377,1967,68,2202,26,264,30,1 +20,315,275,934,63,394,185,309,23,1 +80,13,2150,5568,38,1316,54,313,64,1 +91,173,993,1573,130,879,364,151,58,1 +20,179,2630,2382,44,541,382,50,23,1 +90,31,103,325,163,1057,275,85,28,1 +20,178,3024,1383,68,541,174,338,23,1 +20,163,3581,1978,68,1865,207,68,30,1 +20,203,737,6450,68,355,197,42,30,1 +20,297,837,51,85,936,177,91,23,1 +20,178,410,1626,63,2055,144,338,23,1 +80,13,4095,1968,38,1103,54,313,64,1 +116,106,2814,956,75,1748,330,256,32,1 +23,178,3686,3657,157,1384,192,338,23,1 +67,154,2296,6927,155,799,105,215,38,1 +20,179,2567,3423,37,541,391,50,23,1 +20,179,473,5507,44,541,438,50,23,1 +20,179,729,2340,68,541,8,50,23,1 +48,105,2382,5750,107,567,148,178,44,1 +20,179,633,530,13,2055,346,50,23,1 +20,179,1513,1293,68,541,174,50,23,1 +20,83,1837,3565,39,384,189,290,64,1 +20,179,1325,1345,85,541,422,50,23,1 +20,178,1024,4497,44,541,381,338,23,1 +20,297,3334,4011,14,1402,295,91,23,1 +20,198,737,6511,68,291,230,9,30,1 +20,105,2858,5732,68,634,207,325,30,1 +20,297,4072,249,14,1708,295,91,23,1 +43,109,2308,780,142,449,54,154,64,0 +10,276,1649,892,36,1734,311,8,2,1 +16,278,1340,3563,50,1699,298,180,64,1 +96,266,3312,2375,173,1722,58,140,51,1 +20,25,396,7261,37,1065,55,157,65,1 +20,163,699,5732,68,1865,186,68,30,1 +119,43,3973,1669,168,1807,359,257,30,1 +20,179,2567,861,37,541,391,50,23,1 +78,224,1128,2985,71,1229,149,234,42,1 +67,178,3650,51,155,541,18,338,23,1 +35,174,3886,194,138,1690,149,169,54,1 +20,203,2180,3351,44,574,134,42,30,0 +20,328,758,5279,44,1203,210,181,12,1 +19,47,2580,6436,9,15,14,284,42,1 +15,73,76,4582,101,1972,124,189,23,1 +122,282,871,2393,167,288,75,245,49,1 +20,284,3770,3160,93,2179,378,289,61,1 +20,301,3250,3585,85,1612,223,320,49,1 +20,297,809,2847,85,744,428,91,23,1 +20,277,4096,530,13,589,139,52,23,1 +20,178,438,3231,14,1402,295,338,23,1 +4,182,1515,6296,151,1457,294,238,33,1 +20,240,2463,7119,37,1579,118,109,42,1 +20,173,1284,466,44,1234,196,151,58,1 +20,240,3066,4789,93,354,268,109,42,1 +98,245,481,509,130,1489,298,283,51,1 +110,99,3771,7008,37,2089,239,302,54,1 +125,73,3340,4805,170,2169,124,189,54,1 +20,197,2312,6913,44,1583,146,278,58,1 +20,196,4012,2239,85,1176,148,135,38,1 +20,178,2409,1223,14,541,65,338,23,1 +20,282,2435,3401,14,1172,41,245,49,1 +20,165,3061,5224,44,651,196,232,53,1 +39,216,1054,448,154,1689,58,136,51,1 +20,231,2686,4103,85,1835,70,51,10,1 +4,178,3838,5088,151,541,294,338,23,1 +20,178,1496,1202,44,541,371,338,23,1 +62,301,1371,4483,85,90,54,320,49,0 +81,179,1976,6608,166,541,52,50,23,1 +30,73,3807,3768,46,1972,124,189,54,1 +20,215,2726,482,44,1178,0,44,30,1 +20,173,373,6450,44,680,434,151,58,1 +20,297,2705,615,14,541,295,91,23,1 +20,302,3739,4711,13,1415,121,35,13,1 +20,282,3773,5026,37,2255,393,245,49,1 +113,328,545,6683,47,362,420,181,12,0 +20,10,1763,5557,85,2281,31,199,24,1 +20,100,750,51,68,235,174,30,33,1 +20,178,1525,560,44,541,112,338,23,1 +98,178,3510,4611,130,2055,177,338,23,1 +81,154,3219,3663,166,1164,246,215,38,1 +43,206,3349,4595,142,667,54,287,64,0 +20,179,2127,1297,74,1402,256,50,23,0 +67,179,810,3981,131,541,421,50,23,0 +20,179,1201,1151,13,541,238,50,23,1 +78,174,2034,4662,71,1690,149,169,54,1 +119,37,1304,2623,168,55,416,286,53,1 +20,178,1033,5427,68,541,174,338,23,1 +20,282,746,1141,85,198,428,245,49,1 +20,178,2551,5046,44,541,381,338,23,1 +20,300,424,6523,37,90,79,227,28,1 +18,26,3276,6450,106,473,4,25,35,1 +20,178,3523,1123,85,1384,297,338,23,1 +20,52,2364,1808,93,198,385,294,13,1 +20,179,1803,2596,44,541,285,91,23,1 +122,297,2561,530,167,541,75,91,23,1 +0,47,735,2731,67,372,326,284,42,1 +89,178,983,3768,32,2089,239,302,54,1 +20,204,2811,6995,37,1860,322,319,23,1 +119,84,3895,6727,168,1766,9,239,2,1 +103,95,132,4724,162,921,49,146,42,1 +90,83,220,2758,119,384,277,290,64,1 +50,47,487,4966,156,2173,356,284,42,1 +20,302,2449,5224,74,980,267,35,13,1 +33,336,3047,6872,82,801,392,62,56,1 +33,163,3840,1454,82,918,8,68,30,1 +103,83,249,2474,76,384,298,290,64,1 +20,54,700,6585,90,627,390,40,1,1 +20,203,2706,4724,68,355,186,42,30,1 +78,73,3162,5226,71,1879,149,189,54,1 +20,297,342,364,14,541,295,91,23,1 +20,315,2818,1714,74,394,56,309,23,1 +20,179,3523,5380,85,1402,297,50,23,1 +96,138,1734,4907,173,384,243,150,42,1 +20,170,2884,5948,44,1294,104,179,2,0 +96,47,3392,2375,97,15,243,284,42,1 +20,300,717,6998,68,1998,181,227,28,1 +20,213,403,3665,36,1991,146,28,14,1 +20,240,24,4393,44,354,210,109,42,1 +43,311,4161,525,142,381,172,328,44,1 +20,129,2660,7245,44,1012,440,23,30,1 +20,179,2219,5765,68,541,157,50,23,1 +20,179,2484,7164,68,1402,366,50,23,1 +20,179,3497,7164,68,1309,366,50,23,1 +20,301,3928,7196,37,90,391,320,49,1 +20,179,2910,1129,14,541,5,50,23,1 +20,277,501,530,13,1591,75,52,23,1 +20,105,1284,5617,44,452,196,325,30,1 +12,240,2685,5559,15,1820,148,109,42,1 +20,165,72,6046,37,651,393,232,53,0 +20,240,2230,942,37,354,203,109,42,1 +20,179,802,6985,85,1402,368,50,23,1 +20,179,1441,1702,13,1402,350,50,23,1 +98,190,3890,2447,130,671,177,1,8,1 +10,179,2352,482,36,1773,204,50,23,1 +20,300,2537,482,93,1998,78,227,28,1 +89,73,3408,5692,5,1879,356,189,54,0 +20,281,4099,1578,44,1856,440,254,30,1 +20,179,1492,5507,74,1402,263,50,23,1 +20,178,1142,7137,44,541,220,338,23,1 +20,302,39,4839,13,198,80,35,13,1 +20,106,2239,3142,37,1324,330,256,32,1 +20,297,2014,1094,13,2292,404,91,23,0 +20,178,2107,3730,14,541,327,338,23,1 +20,178,1117,3122,68,23,207,338,23,1 +20,179,66,505,44,1709,146,50,23,1 +20,282,3357,1009,13,1068,109,245,49,1 +103,178,774,51,136,541,48,338,23,1 +20,100,2792,1083,14,778,437,30,33,1 +20,178,3729,1822,14,1384,295,338,23,1 +81,277,2955,6522,166,394,52,52,23,1 +20,261,1468,530,93,1846,409,10,65,1 +5,245,1395,5117,148,269,58,283,51,1 +20,86,133,4099,68,941,381,219,0,1 +20,179,3501,2459,37,541,304,50,23,1 +119,106,3142,5272,168,410,330,256,32,1 +20,297,3126,935,68,541,411,91,23,1 +20,179,1728,51,13,809,75,50,23,1 +116,179,57,1951,75,1924,330,256,32,1 +20,178,284,6618,85,541,394,338,23,1 +20,277,3751,5732,37,541,391,52,23,1 +43,109,1278,2843,142,654,298,154,64,1 +20,230,952,1358,68,805,159,184,2,1 +92,163,3020,247,65,2299,234,68,30,1 +20,178,1928,1630,74,1402,256,338,23,1 +20,302,643,2618,68,858,157,35,13,1 +122,10,2617,1508,167,2194,291,91,23,1 +86,73,3633,4825,18,558,170,189,54,1 +20,301,4013,1718,44,2181,6,320,49,1 +20,142,3695,3847,44,2107,309,2,8,1 +20,179,1397,3700,13,1309,346,50,23,1 +103,83,237,3990,162,384,83,290,64,1 +20,228,3768,5111,85,899,229,37,23,1 +44,73,2716,5034,108,2305,170,189,54,1 +30,197,3323,2311,46,846,310,278,58,1 +20,190,1640,6829,85,671,318,1,8,1 +113,32,883,1665,47,734,430,210,42,1 +122,178,3254,1776,72,837,344,338,23,1 +116,163,3141,3220,75,1865,210,68,30,1 +20,203,3066,44,93,355,268,42,30,1 +65,178,891,3472,137,541,385,338,23,1 +20,179,3778,297,93,541,30,50,23,1 +20,178,2864,6160,37,541,421,338,23,1 +6,269,982,3515,6,1326,120,225,59,1 +98,179,1529,5753,130,1402,177,50,23,1 +24,99,3486,6249,52,1145,149,302,54,1 +20,105,1860,4014,44,1266,403,325,30,1 +81,38,3256,3312,166,763,434,22,33,1 +20,88,3883,51,63,845,126,166,55,1 +20,84,3551,4928,68,1766,159,239,2,1 +20,154,4183,73,74,799,172,215,38,1 +20,56,339,6094,44,799,303,121,38,1 +10,282,1720,5507,36,1172,81,245,49,1 +20,282,2480,5732,68,1172,8,245,49,1 +119,33,2662,5732,168,1675,186,336,13,1 +20,307,3552,1968,39,539,302,228,64,0 +83,73,2550,1497,56,1972,326,189,54,1 +20,294,3642,2669,68,1415,186,29,60,1 +126,301,3323,2104,91,846,310,320,49,1 +43,206,2201,7226,142,654,298,287,64,1 +20,179,3282,4705,68,1402,158,50,23,1 +92,105,1651,1909,65,287,234,325,30,1 +92,132,154,1963,65,1106,234,83,30,1 +20,302,535,5261,63,858,84,35,13,1 +20,321,2209,597,68,2266,366,129,28,1 +20,270,258,6261,63,582,62,6,32,1 +20,179,2208,4578,13,541,383,50,23,1 +20,302,2506,4190,74,980,361,91,13,1 +14,105,2028,5224,89,1786,107,325,30,1 +20,52,799,5615,68,198,292,294,13,1 +10,236,2501,4845,36,1998,378,203,28,1 +20,230,402,2285,85,943,328,184,2,1 +83,47,1364,3583,56,2089,239,284,42,1 +80,83,471,6904,38,444,298,290,64,1 +20,179,1275,4423,44,541,36,50,23,1 +20,59,2396,6968,74,414,267,214,12,1 +80,13,4095,7054,38,1108,54,313,64,1 +28,178,432,7051,104,541,117,338,23,1 +116,232,2897,5963,75,1177,421,165,30,1 +20,179,1898,51,14,23,327,50,23,1 +20,219,1508,6181,85,607,428,133,37,0 +20,297,2815,7083,37,2292,391,91,23,1 +20,204,961,5519,85,979,293,319,23,1 +56,99,3661,4812,41,816,124,302,54,1 +20,178,2374,482,63,541,396,338,13,1 +102,240,575,1341,0,41,148,109,42,1 +94,73,2327,3077,53,1109,170,189,54,0 +81,315,3219,51,166,673,188,309,23,1 +33,203,3840,5427,82,918,8,42,30,1 +20,179,1525,1967,44,541,112,50,23,1 +20,179,3778,5443,93,541,30,50,23,1 +20,100,1682,861,93,235,297,30,33,0 +20,77,4166,5769,85,129,19,132,47,1 +20,228,3768,2971,85,899,229,37,23,1 +20,179,4144,163,85,541,363,50,23,1 +89,99,739,3768,32,2089,170,302,54,1 +20,297,1447,951,9,1202,6,91,23,1 +20,139,3743,6395,68,637,411,271,9,1 +103,217,1700,885,136,1174,430,70,2,1 +20,178,3673,6655,68,541,152,338,23,1 +81,178,1976,3570,166,541,52,338,23,1 +55,240,1564,875,70,1902,379,109,42,1 +20,302,1616,1993,85,858,428,35,13,1 +43,307,4128,2348,142,384,298,228,64,0 +20,159,2803,5385,68,926,362,104,36,1 +20,112,176,1808,13,1765,80,277,53,1 +20,209,192,566,44,1920,371,87,8,1 +20,178,1464,2629,68,541,144,338,23,1 +20,235,4096,6522,13,519,238,229,9,1 +20,179,500,3718,44,2055,371,50,23,1 +91,206,971,3529,130,2195,298,287,64,1 +20,297,639,3781,68,541,381,91,23,1 +20,203,1086,4276,44,361,69,42,30,1 +103,138,86,2596,136,921,328,150,42,0 +20,170,2976,5045,44,1294,104,179,2,1 +20,302,3879,3351,44,1557,0,35,13,1 +20,101,4106,2755,63,267,416,113,55,1 +20,179,2106,2597,85,541,279,50,23,1 +20,178,1730,1981,44,541,444,338,23,1 +20,175,1862,2873,44,1737,371,239,56,1 +63,156,2859,5732,30,1690,210,324,30,1 +73,51,3432,6811,132,1836,154,260,2,1 +20,301,3928,5385,37,90,391,320,49,1 +81,179,2560,4994,166,541,52,50,23,1 +110,99,172,3768,120,2089,239,302,54,1 +20,178,713,861,44,541,382,338,23,1 +89,178,3,3866,112,541,393,338,23,1 +81,179,3790,2393,166,541,373,50,23,1 +96,47,2444,1799,23,15,239,284,42,1 +20,178,2130,4074,14,541,367,338,23,0 +20,165,1398,6511,68,2023,186,232,53,1 +20,178,750,861,68,541,174,338,23,1 +20,205,534,3428,44,634,0,263,30,1 +20,301,3773,4244,37,90,393,320,49,1 +20,240,1027,3351,68,1579,186,109,42,1 +50,174,3559,894,156,841,326,169,54,1 +20,154,3967,6521,14,799,437,215,38,1 +47,47,2081,6837,78,2242,124,284,42,1 +44,47,2001,5357,108,15,239,284,42,1 +20,178,1369,6490,93,541,251,338,23,1 +20,297,966,4190,13,741,238,91,23,1 +122,178,1335,4223,72,541,97,338,23,1 +20,132,3700,1931,44,1259,319,83,30,1 +20,178,1337,6115,85,1384,177,338,23,1 +20,178,4018,930,68,1384,335,338,23,1 +122,282,1133,530,72,1172,373,245,49,1 +20,178,2638,6886,37,541,393,338,23,1 +84,266,1846,3171,48,18,58,140,51,1 +125,57,518,3465,121,2059,124,275,17,1 +20,282,590,4411,37,90,192,245,49,1 +50,179,3857,2229,156,1690,356,302,54,1 +20,132,1758,482,68,1106,445,83,30,1 +113,328,545,1189,47,362,420,181,12,1 +20,297,342,5538,14,541,295,91,23,1 +103,150,2912,4731,162,1859,442,183,6,1 +20,179,1554,6094,37,1402,192,50,23,1 +67,301,2054,6237,155,90,144,320,49,1 +103,276,3099,6713,136,212,441,8,2,1 +20,301,2999,4041,85,945,265,320,49,1 +20,179,1917,660,74,541,263,50,30,1 +20,43,2237,4248,44,1281,182,257,30,1 +20,12,406,6450,44,857,403,21,42,1 +20,297,224,4738,44,1402,220,91,23,1 +30,153,2408,4173,46,1877,124,118,14,1 +20,178,1730,1879,44,541,444,338,23,1 +20,178,939,3971,14,541,41,338,23,1 +20,178,625,6094,14,1384,41,338,23,1 +20,240,2686,4393,85,75,70,109,42,1 +20,282,179,1479,14,1172,327,245,49,1 +20,230,3263,2023,90,1766,311,184,2,1 +20,179,1615,2562,63,541,126,50,23,1 +20,179,1930,5507,44,541,371,50,23,1 +20,178,3539,3815,37,541,391,338,23,1 +20,139,1572,5507,37,637,192,271,9,1 +20,231,4021,4501,93,276,251,51,10,1 +20,263,2547,4789,93,2082,268,171,30,1 +43,13,4161,3565,142,1682,172,313,64,1 +20,16,3565,4255,37,1080,55,66,6,1 +20,221,1094,3129,44,1758,270,231,8,1 +81,262,2915,7072,166,637,238,126,9,1 +57,157,776,6488,25,1766,109,233,52,1 +20,240,898,2863,37,1781,118,109,42,1 +17,327,840,3066,122,689,124,127,54,1 +20,12,3470,2879,74,921,287,21,42,1 +115,187,924,3399,128,851,116,330,23,1 +122,138,60,3785,167,1139,100,261,56,1 +20,315,3441,2501,44,541,144,309,23,1 +31,313,1013,6822,140,1961,124,178,44,1 +20,178,3358,1644,14,541,327,338,12,1 +20,200,3652,456,85,521,301,116,38,1 +20,215,561,5709,44,145,231,44,30,1 +20,178,3523,1597,85,541,297,338,23,1 +20,203,611,7119,44,1966,231,42,30,1 +20,178,1798,2993,93,541,131,338,23,1 +81,251,1723,530,166,2206,323,0,22,1 +20,274,2558,1963,68,2202,186,264,30,1 +6,196,2079,5059,6,1176,318,135,38,1 +49,47,1961,6436,64,15,14,284,42,1 +107,302,3297,5643,98,991,416,35,13,1 +20,179,2530,51,13,541,365,50,23,1 +67,138,1636,530,155,799,294,150,42,1 +103,113,3167,3132,136,235,109,123,52,1 +49,99,3988,1094,64,2089,14,302,54,0 +75,73,2924,3221,31,1879,149,189,54,1 +20,274,1676,764,44,2202,416,264,30,1 +20,182,3967,1612,14,2198,437,238,33,1 +20,200,3350,1633,44,799,371,116,38,1 +55,197,108,1091,70,103,364,278,58,0 +20,297,1211,5106,93,541,294,91,23,0 +20,179,2556,5507,44,541,382,50,23,1 +20,178,2397,5049,68,1402,144,338,23,1 +81,179,3298,4839,166,1074,52,50,23,1 +6,109,829,4225,6,374,301,154,64,1 +20,231,1371,240,85,2205,363,51,10,1 +20,163,1480,1612,68,1865,26,68,30,1 +20,272,2828,1384,74,455,162,95,8,1 +20,178,2170,4739,85,1384,435,338,23,1 +20,230,3465,3355,37,1315,224,184,2,0 +94,102,4085,4531,53,33,58,160,51,1 +20,178,3647,2203,85,541,177,338,23,1 +20,203,2224,5224,44,261,134,42,30,1 +20,178,2752,51,85,541,297,338,23,1 +20,178,1798,1151,93,541,131,338,23,1 +20,240,2972,1954,85,1579,430,109,42,1 +20,178,1559,5324,93,1402,306,338,23,1 +20,198,479,4223,68,634,445,9,30,1 +73,225,711,6008,60,1630,80,331,30,1 +119,205,3973,5963,168,419,438,263,30,1 +20,154,669,1508,13,799,238,215,38,1 +81,154,1933,5088,166,1164,131,215,38,1 +20,129,4099,6789,44,1696,440,23,30,1 +20,178,1491,51,13,541,75,338,23,1 +20,197,3310,1954,44,2256,146,278,58,1 +11,187,973,6450,8,296,379,330,28,1 +20,178,2468,482,44,541,382,338,23,1 +84,73,3777,1969,48,1879,239,189,54,1 +20,170,3017,3909,44,1115,159,179,2,1 +20,100,3967,4646,14,235,437,30,33,1 +20,179,2376,6437,74,541,256,50,23,0 +20,178,1296,6430,44,541,371,338,23,1 +107,203,1114,4171,98,1843,182,42,23,1 +20,282,760,5840,85,1665,363,245,49,1 +20,297,2289,226,44,1202,158,91,23,1 +20,121,3384,530,13,198,350,78,13,1 +20,182,3967,482,14,2198,437,238,33,1 +125,99,3340,4727,170,1490,124,302,54,1 +20,178,2627,1833,37,1402,192,338,23,1 +20,301,3850,5732,44,90,220,320,49,1 +20,190,2204,4129,37,671,421,1,8,1 +33,195,1712,530,82,1097,163,64,17,1 +20,184,3595,3909,68,1002,186,161,10,1 +20,179,2990,4872,68,541,381,50,23,1 +20,179,1828,520,74,1470,263,215,38,1 +20,163,615,5963,44,1865,134,68,30,1 +120,13,3530,6609,124,449,54,313,64,1 +20,160,3350,2535,44,567,371,288,37,1 +20,178,1514,6469,13,541,219,338,23,0 +20,121,2732,1285,68,858,360,78,13,1 +20,234,3028,3291,172,155,157,100,15,1 +20,312,4154,5385,13,167,121,142,36,1 +20,178,3337,3910,68,541,8,338,23,1 +20,302,2401,530,13,858,80,35,13,1 +20,163,2866,5107,30,1786,107,68,30,1 +20,179,692,1019,74,541,256,50,23,1 +20,178,1146,5582,63,541,433,338,23,1 +20,105,3474,581,44,1074,231,325,30,1 +20,139,3751,6094,37,637,192,271,9,1 +20,197,3310,252,44,2256,146,278,58,1 +20,179,1117,2653,68,23,207,50,23,1 +20,302,3629,1032,85,198,223,35,13,1 +20,197,1300,4953,85,1389,265,278,58,1 +20,179,626,2561,13,541,404,50,23,1 +20,179,1513,3926,68,541,174,50,23,1 +20,179,315,4223,44,1402,144,50,23,1 +122,175,3135,530,167,124,75,310,56,1 +20,203,3066,6308,93,355,268,42,30,1 +56,99,1838,921,41,689,124,302,54,1 +10,248,2944,1951,36,579,330,98,38,1 +5,28,2799,6690,148,2227,170,246,63,1 +81,196,964,40,166,1164,57,135,38,1 +20,240,543,2580,93,762,268,109,42,1 +55,240,251,875,70,131,379,109,42,1 +20,303,1583,5873,37,1190,55,243,6,1 +20,178,259,5567,63,541,433,338,23,1 +20,240,3209,3692,68,2205,333,109,42,1 +107,52,1399,4485,98,663,400,294,13,0 +6,62,2574,6108,6,521,301,295,23,1 +10,198,3571,5107,36,352,408,9,30,1 +20,160,3993,530,13,567,238,288,37,1 +20,2,4106,2755,63,1381,396,74,55,1 +20,179,2567,5138,37,541,391,50,23,1 +2,313,3381,4317,94,1732,140,178,44,1 +49,73,3158,2462,84,686,356,189,54,1 +20,179,2219,3645,68,541,157,50,23,1 +20,179,473,3074,44,541,418,50,23,1 +20,105,1284,5250,44,452,196,325,30,1 +20,179,2191,5229,93,541,395,50,23,1 +20,277,3529,6947,44,1715,144,52,23,1 +20,173,1284,3909,44,1234,196,151,58,1 +20,127,667,2539,44,996,144,88,55,1 +20,178,3450,5753,74,541,367,338,23,1 +20,282,4133,2866,85,664,435,245,49,1 +20,297,460,6815,68,2292,381,91,23,1 +126,41,2867,1056,91,1136,356,164,54,1 +86,47,3299,5134,81,15,239,284,42,1 +20,178,3327,5418,13,541,344,338,23,0 +89,47,3458,156,32,15,356,284,42,1 +116,310,241,3455,75,651,230,258,60,1 +67,150,1697,6160,155,1590,55,183,6,1 +20,84,4152,5815,90,1766,226,239,2,0 +20,197,3188,3175,44,2113,32,278,58,1 +20,163,2414,2026,68,1865,186,68,30,1 +20,240,3061,5417,44,41,134,109,42,0 +20,67,538,5917,85,961,206,67,14,1 +20,230,183,2285,85,1305,430,184,2,1 +42,73,1646,6513,103,2159,170,189,54,1 +12,240,2685,4891,15,1312,148,109,42,1 +20,231,2109,5096,93,276,251,51,10,1 +20,297,460,4866,68,541,381,91,23,1 +16,245,2565,1414,50,1947,376,283,51,1 +20,178,2289,792,44,541,158,338,23,1 +20,179,2638,4967,37,541,393,50,23,1 +20,178,2227,482,37,541,393,338,23,1 +20,170,113,4491,85,1130,441,179,2,1 +20,178,2137,6108,14,541,295,338,23,1 +20,178,2468,2567,44,541,382,338,23,1 +20,288,902,572,93,554,72,282,55,1 +96,47,1137,482,173,15,239,284,42,1 +20,62,3550,6148,68,186,333,295,23,1 +20,204,556,5753,85,1860,322,319,23,1 +20,178,922,2868,44,541,285,338,23,1 +103,179,2844,6140,136,1264,382,50,23,1 +103,278,679,3604,162,654,298,180,64,1 +20,179,1421,570,37,541,391,50,23,1 +20,297,2970,51,44,2055,381,91,23,1 +20,231,2879,5272,37,2138,125,51,10,1 +20,178,2890,6729,44,541,36,338,23,1 +10,0,2362,7218,54,545,118,24,11,1 +20,179,870,589,44,541,57,50,23,1 +20,203,1184,482,44,574,231,42,30,1 +112,73,3483,2375,153,932,170,189,54,1 +122,175,1711,4829,167,1714,29,310,56,1 +80,13,2089,7054,38,1361,298,313,64,1 +20,297,192,2107,44,541,371,91,23,0 +20,178,1540,2443,44,541,371,338,23,1 +20,178,2219,2698,68,541,157,338,23,1 +20,154,669,4785,13,799,238,215,38,1 +20,179,480,51,68,541,28,50,23,1 +122,297,3508,530,72,541,52,91,23,1 +20,261,3743,4223,68,541,411,50,23,1 +62,283,3807,5534,49,2159,124,269,54,1 +40,178,3519,5910,4,541,127,338,23,1 +20,282,466,7,74,323,263,245,49,1 +20,179,2659,4516,44,1309,220,50,23,1 +103,197,1400,5526,136,1583,32,278,58,1 +20,297,2170,5584,85,541,435,91,23,1 +89,99,3458,3077,32,2089,356,302,54,0 +81,331,3037,1100,166,2074,323,299,22,1 +20,185,2584,5801,37,280,296,174,60,1 +20,179,3214,4023,13,541,80,50,23,1 +20,328,2134,482,93,901,77,181,12,0 +71,263,4162,6327,68,2091,257,171,30,1 +107,230,4033,1978,98,1450,9,184,2,1 +20,301,3283,5753,93,90,345,320,49,1 +20,179,1369,6402,93,541,251,50,23,1 +20,13,1483,5568,39,2108,302,313,64,1 +20,178,625,4223,14,1384,41,338,23,1 +20,170,474,6131,68,709,48,179,2,1 +78,174,2113,440,71,1690,149,169,54,1 +20,138,3209,907,68,354,333,150,42,1 +20,140,225,5394,93,510,378,49,30,1 +89,99,1950,5660,32,2089,360,302,54,1 +20,240,2510,1951,44,382,136,109,42,1 +20,179,3645,850,63,541,84,50,23,1 +20,121,1951,5732,13,968,373,78,13,1 +20,178,1024,2268,44,541,381,338,23,1 +120,278,3578,3565,124,654,298,180,64,1 +69,109,2721,7006,134,802,298,154,64,1 +20,178,590,2612,37,541,192,338,23,1 +88,47,2406,3690,100,15,14,284,42,1 +20,163,3449,5427,68,1865,186,68,30,1 +43,197,3489,1808,142,689,362,278,58,1 +113,52,3339,1808,47,2231,6,294,13,1 +20,282,483,1141,85,90,297,245,49,1 +20,272,2204,3010,37,671,421,1,8,1 +57,157,776,530,25,1766,109,233,52,1 +7,138,3303,285,109,181,249,150,42,1 +67,173,3782,6530,3,99,168,151,58,0 +20,178,1559,653,93,541,306,338,23,1 +20,267,592,4223,44,926,353,12,36,1 +74,216,3632,6589,45,2193,58,136,51,1 +20,179,340,3208,85,541,435,50,23,1 +20,240,4125,5507,44,965,382,109,42,1 +20,179,1463,2930,14,541,39,50,23,1 +109,138,3481,4891,35,1820,148,150,42,1 +20,83,1177,5568,39,384,298,290,64,1 +57,256,2572,4276,25,332,109,4,52,1 +20,178,1492,2270,74,541,263,338,23,1 +20,179,831,3529,68,1129,335,50,23,1 +20,178,3437,1899,14,1402,295,338,23,1 +20,240,721,2104,85,354,338,109,42,1 +20,297,444,3319,44,541,8,91,23,1 +20,163,3453,2715,68,1865,400,68,30,1 +81,178,1103,51,166,541,52,338,23,1 +20,179,2622,2470,74,1402,123,50,23,1 +20,297,3366,182,37,541,304,91,23,1 +20,179,1880,3208,85,541,322,50,23,1 +81,178,2810,1975,166,541,42,338,23,1 +20,179,2581,4782,37,1402,421,50,23,1 +49,47,3847,1094,84,15,356,284,42,1 +20,179,3101,4223,93,541,314,50,23,1 +20,58,965,2101,85,76,229,208,8,1 +126,41,3979,1512,91,1600,356,164,54,1 +20,277,3454,2286,63,1715,264,52,23,1 +20,240,1492,2915,90,354,263,109,42,1 +20,84,3637,6094,37,84,153,239,2,1 +126,41,2867,482,91,1136,356,338,54,1 +20,178,1917,3552,74,541,263,338,23,1 +20,154,1437,1289,68,799,371,215,38,1 +20,178,2558,51,68,1402,186,338,23,1 +94,73,2327,2979,53,1109,170,189,54,0 +126,4,2123,2514,91,838,281,137,25,1 +20,179,2558,6193,68,541,186,50,23,1 +107,165,173,5224,98,636,230,232,64,1 +20,179,2498,991,68,541,411,50,23,1 +74,73,1099,5281,45,1533,170,189,54,1 +103,303,2912,5114,162,1859,55,243,6,1 +20,154,3350,2311,68,799,371,215,38,1 +20,203,568,482,44,574,262,42,30,1 +6,190,1898,3880,6,409,327,1,8,1 +20,241,3768,5523,85,601,290,306,62,1 +20,103,3484,5147,44,842,210,253,57,1 +20,179,1682,3513,85,541,297,50,23,1 +20,245,3311,4393,68,27,240,283,51,1 +8,73,3325,1380,118,189,149,189,54,1 +28,178,2503,7051,104,541,117,338,23,1 +20,154,3350,6480,44,799,360,215,38,1 +20,178,2917,2289,37,541,393,338,23,1 +20,236,2038,4724,68,1998,257,203,28,1 +20,190,3424,6961,85,671,37,1,8,1 +20,178,2374,956,63,541,396,338,23,1 +20,154,1152,5732,68,799,366,215,38,1 +122,255,4070,530,72,2192,375,267,38,1 +20,200,3350,4872,44,799,381,116,38,1 +20,297,444,3978,44,541,371,91,23,1 +20,300,3025,5732,93,1998,20,227,28,1 +20,179,4160,4298,68,541,174,50,23,1 +20,178,4124,119,74,541,256,338,23,1 +20,16,2689,3632,85,1923,410,66,6,1 +56,99,925,1127,41,816,124,302,54,0 +20,296,4107,1560,85,922,19,172,47,1 +20,302,771,3953,37,1313,236,35,13,1 +20,154,3350,396,44,799,371,215,38,1 +20,178,3528,942,37,541,391,338,23,1 +20,173,664,3929,44,1583,440,151,58,1 +55,83,3081,1968,70,667,54,290,64,1 +20,178,1491,4223,13,541,75,338,23,1 +20,178,2208,2118,13,541,238,338,23,1 +20,115,111,4845,13,722,109,196,41,1 +90,325,2916,496,163,1253,298,218,51,0 +20,178,1762,5427,93,1402,314,338,23,1 +15,73,1131,6654,101,1972,124,189,54,1 +60,179,2964,2104,69,671,145,50,23,1 +20,240,3257,7065,85,1247,328,109,42,1 +17,84,3378,3026,44,2205,124,239,2,1 +20,240,412,6816,44,354,0,109,42,1 +20,178,626,7091,13,541,404,338,23,1 +10,187,2336,956,36,296,330,330,28,1 +20,282,49,2388,44,1665,144,245,49,1 +20,179,1803,7056,44,541,285,50,23,1 +81,179,1060,5597,166,541,57,50,23,1 +20,154,669,2639,13,2101,238,215,38,1 +20,218,3062,6781,13,224,120,317,59,1 +20,132,1346,870,68,1187,197,83,30,1 +20,282,1330,2715,44,2255,33,245,49,1 +20,178,232,2566,37,541,192,338,23,1 +20,150,3565,252,37,1190,283,183,6,1 +20,240,66,6610,44,354,146,109,42,1 +20,179,2581,5267,37,1402,421,50,23,1 +67,315,3887,2500,155,673,56,309,23,1 +20,178,590,6860,37,1402,192,338,23,1 +20,303,2280,6186,37,1190,283,243,6,1 +20,178,666,314,93,541,12,338,23,1 +81,262,794,3208,166,637,131,126,9,1 +56,99,4047,1380,41,1463,124,302,54,1 +20,179,3800,51,68,541,144,50,23,1 +16,283,2509,2357,159,44,146,269,54,1 +20,178,2227,1816,37,1384,393,338,23,1 +107,37,1455,2116,98,55,438,286,53,1 +20,179,444,1879,44,2055,371,50,23,1 +20,139,1842,2393,13,773,75,271,9,1 +7,73,2518,6907,96,447,14,189,54,1 +20,203,2927,3428,44,975,231,42,30,1 +50,174,3456,1704,156,132,356,169,54,1 +20,178,2220,3505,63,541,396,338,23,1 +126,73,3979,2229,91,864,356,189,54,1 +20,179,1746,5375,13,1402,71,50,23,1 +49,47,69,4484,64,15,239,284,42,0 +20,179,444,5085,44,541,418,50,23,1 +20,68,945,4485,74,355,267,237,30,1 +20,274,1852,3428,68,2202,445,264,30,1 +20,63,3703,5427,44,1184,440,204,0,1 +20,178,500,4265,68,541,371,338,23,1 +20,240,4125,51,44,965,382,109,42,1 +20,315,3454,2923,63,541,185,309,23,1 +76,313,722,6010,139,2121,148,178,44,1 +20,151,4023,100,44,128,146,292,8,1 +107,37,2827,1763,98,55,136,286,53,1 +20,140,2547,482,93,1132,268,49,30,0 +20,194,1725,5590,44,1829,6,13,24,1 +122,178,3405,1009,72,1522,71,338,23,1 +20,297,639,6715,44,541,371,91,23,1 +122,178,3405,1776,72,2063,71,338,23,1 +80,83,906,3922,38,1120,83,290,64,1 +20,178,1917,3193,74,541,263,338,23,1 +107,214,1161,1697,98,1748,330,175,32,1 +20,240,343,4393,63,354,84,109,42,1 +20,96,2593,1141,85,769,287,255,60,1 +20,179,994,1808,44,541,202,50,23,1 +20,52,1398,6308,68,198,186,294,13,1 +20,79,2196,5949,74,2281,227,334,24,1 +20,121,262,5224,93,858,142,78,13,1 +20,179,2718,3301,44,541,61,50,23,1 +20,198,555,7119,68,2202,186,9,30,1 +20,10,2587,51,68,1791,183,199,24,1 +91,179,1529,856,130,541,177,50,23,1 +20,228,3372,51,13,1019,64,37,23,1 +20,160,2805,1687,37,567,393,288,37,1 +20,179,2219,6405,68,541,157,50,23,1 +51,179,591,3036,102,2199,369,50,23,1 +6,196,2079,3208,6,1176,318,135,38,1 +20,78,3163,4317,74,1896,237,223,50,1 +40,83,1056,2366,17,2257,298,290,64,1 +20,179,4115,5507,44,541,371,50,23,1 +107,203,1040,2706,98,227,186,42,30,1 +20,262,4078,6522,13,637,350,126,9,1 +35,32,2454,3239,138,1690,149,210,42,1 +64,179,386,3717,62,541,367,50,23,1 +83,99,160,3944,56,1690,356,302,54,1 +20,179,501,530,13,967,75,50,23,1 +120,83,1493,780,124,384,298,290,64,1 +81,315,2425,4626,166,394,52,309,23,1 +103,178,405,2908,136,541,199,338,23,1 +20,179,1761,6094,68,541,381,50,23,1 +126,73,1018,128,91,1095,356,189,54,1 +20,79,4118,1897,74,1798,56,334,24,1 +113,300,1189,5570,47,1565,379,227,28,1 +29,313,3787,1132,129,32,364,178,44,1 +20,13,772,6442,39,654,302,313,64,1 +20,179,1559,4223,93,541,306,50,23,1 +103,83,1159,5568,162,820,298,290,64,1 +20,178,713,7184,44,541,382,338,23,1 +20,240,3061,7119,44,41,196,109,42,1 +20,313,4183,938,74,904,172,178,44,1 +20,272,963,35,85,671,318,95,8,1 +107,30,436,6441,98,243,6,110,40,1 +20,178,750,4442,68,1402,174,338,23,1 +20,179,1803,6707,44,541,23,150,23,1 +20,179,2051,4629,68,541,152,50,23,1 +6,179,3444,1156,6,541,369,50,23,1 +20,230,2295,5023,90,993,226,184,2,1 +107,321,2521,1352,98,1348,76,129,28,1 +107,95,3592,2933,98,236,101,146,42,1 +20,187,3379,2566,38,1108,379,330,28,1 +20,58,1556,737,74,1598,162,208,8,1 +20,190,2204,3669,37,671,421,50,8,1 +20,204,1294,900,85,979,394,319,23,1 +20,122,3529,5260,68,2182,144,163,23,1 +20,179,2462,2163,37,1402,393,50,23,1 +90,83,2261,6904,163,384,277,290,64,1 +20,179,54,3564,37,541,192,50,23,1 +20,297,639,610,68,541,381,91,23,1 +20,178,4151,3664,68,541,386,338,23,1 +20,240,575,292,35,1420,148,109,42,1 +20,178,3647,6535,85,541,177,338,23,1 +20,179,1441,275,13,541,71,50,23,1 +20,160,1332,1158,44,567,418,288,37,1 +20,282,231,6733,74,1240,237,245,49,1 +20,297,1108,2143,74,541,91,91,23,1 +20,59,27,6094,37,2217,370,214,12,1 +119,84,3895,1978,168,1766,9,239,2,1 +20,211,595,3650,85,819,328,235,2,1 +78,133,1351,2776,71,166,424,300,11,1 +20,178,63,956,37,541,393,338,23,1 +20,221,3695,3519,44,1758,309,231,8,1 +20,179,3515,5753,93,541,385,50,23,1 +20,276,470,5220,85,239,328,8,2,1 +20,282,147,6094,44,2255,36,245,49,1 +20,10,1140,3891,37,816,421,199,24,1 +5,73,3189,6675,148,1175,170,189,54,1 +20,154,2145,6989,74,799,263,215,38,1 +20,178,444,2231,44,541,371,338,23,1 +20,203,1086,3428,44,361,69,42,30,1 +20,179,626,1009,13,541,404,50,23,1 +20,84,4181,1248,90,834,226,239,2,1 +20,86,1331,339,68,1026,360,219,0,1 +20,178,676,3634,44,541,112,338,23,1 +20,297,910,2731,63,2292,126,91,23,0 +109,197,508,5842,35,1828,148,278,58,1 +55,206,3884,3732,70,86,86,287,64,1 +20,179,3518,5427,68,541,144,50,23,1 +20,297,2694,7254,44,1077,382,91,23,1 +20,132,1251,1021,44,1259,262,83,30,1 +23,73,214,5794,157,613,239,189,54,1 +126,99,1153,5224,91,1490,40,302,54,1 +20,178,192,6892,44,541,371,338,23,1 +20,178,2206,2497,37,541,393,338,23,1 +20,179,1014,6450,68,541,144,50,23,1 +20,263,851,1358,93,382,22,171,30,1 +20,160,381,620,14,567,437,288,37,1 +20,221,3954,3323,85,1758,99,231,8,1 +20,64,2831,2644,37,1227,153,187,2,1 +20,306,2171,5224,44,1119,210,41,58,1 +20,220,796,6982,93,1263,315,220,5,1 +20,179,2381,51,68,541,144,50,23,1 +20,315,922,2733,44,541,6,309,23,1 +20,240,2291,6816,44,41,440,109,42,1 +20,219,1508,6902,85,949,428,133,37,1 +20,178,4160,2950,68,1402,174,338,23,1 +79,179,4034,3004,92,541,210,338,23,1 +43,248,3287,5040,142,565,362,98,10,1 +40,231,1102,1651,17,213,364,51,10,1 +86,99,536,3695,147,2089,356,302,54,1 +20,160,4125,2824,44,567,382,288,37,1 +44,99,2857,3077,108,2089,356,302,54,0 +107,52,1399,4171,98,663,400,294,13,1 +20,178,2390,5703,44,541,52,338,23,1 +20,79,17,2455,68,2230,351,334,24,1 +20,272,1929,6804,37,2251,79,95,8,0 +20,203,1184,462,44,355,231,42,30,1 +109,313,3481,6010,35,2121,148,178,44,1 +20,178,1142,4521,44,541,220,338,23,0 +69,109,1667,672,134,2158,298,154,64,1 +126,41,2434,5543,91,1095,40,164,54,1 +44,99,674,1263,108,2089,356,187,54,1 +20,22,2641,4933,74,2205,56,192,8,1 +20,315,3602,119,63,1715,185,309,23,1 +20,272,1556,1384,74,869,162,95,8,1 +56,99,2601,6553,41,1857,124,302,54,1 +20,297,2760,6480,85,541,338,91,23,1 +43,307,4128,2843,142,384,298,228,64,1 +20,179,526,3379,14,541,437,50,23,1 +90,83,404,2758,119,2195,298,290,64,1 +103,10,2594,1532,136,2205,158,199,24,1 +20,178,500,6906,68,541,371,338,49,1 +20,316,1719,5385,13,1927,75,119,36,1 +83,174,2797,1497,56,1690,239,169,54,1 +81,178,4117,1111,166,541,52,338,23,1 +107,203,3286,3905,98,1418,445,42,30,1 +20,175,2760,4493,85,60,150,310,56,1 +20,59,1482,5568,63,1426,420,214,12,1 +20,297,3500,4646,63,541,264,91,23,1 +15,99,2169,4582,101,1690,124,302,54,1 +20,178,3252,2505,13,541,75,338,23,0 +20,213,2327,3295,44,1694,255,28,14,1 +94,99,883,3768,53,2089,14,302,54,1 +20,170,1302,610,14,90,41,320,49,1 +20,198,2573,482,68,291,182,9,30,1 +20,230,139,2285,85,1305,430,184,2,1 +111,32,299,1547,116,1690,149,210,42,1 +67,179,1148,4985,155,541,144,50,23,1 +20,68,2290,5226,44,355,195,237,30,1 +20,178,1146,5432,63,541,396,338,23,1 +20,282,1214,6713,93,90,222,245,49,1 +103,217,3284,206,136,2117,328,70,2,1 +20,105,3040,654,44,1074,438,325,30,1 +20,297,1118,252,37,1202,421,91,30,1 +122,302,2640,4276,72,198,373,35,13,0 +20,240,2861,5385,44,1459,207,109,42,1 +20,179,3436,777,93,541,314,50,23,1 +20,179,2984,1151,93,541,131,50,23,1 +53,301,742,6150,127,1657,385,320,49,1 +49,47,3621,279,84,15,170,284,42,1 +103,261,1652,4276,162,1422,275,10,65,1 +10,0,832,2566,54,545,118,24,11,1 +20,179,500,51,44,2055,371,50,23,1 +62,99,2345,1562,49,1490,182,302,54,1 +20,317,3450,5156,14,2301,367,148,23,1 +48,311,2382,6769,28,2121,148,328,44,1 +20,179,54,7154,37,541,192,50,23,1 +20,178,2514,5163,63,541,396,338,23,1 +20,179,2023,530,13,190,100,50,23,1 +20,287,2802,5507,44,941,146,75,0,1 +110,73,2496,7228,120,177,170,189,54,1 +122,227,3003,6307,167,1719,337,5,56,1 +107,214,2024,2522,98,506,330,175,32,1 +20,178,750,5379,68,1402,174,338,23,1 +20,178,1424,284,44,541,371,338,23,1 +20,230,582,2285,85,218,430,184,2,1 +20,64,3775,2285,68,1294,159,187,2,1 +20,178,2365,1098,93,541,294,338,23,0 +20,178,2675,6134,85,541,297,338,23,1 +100,73,1149,2229,2,2070,326,189,54,1 +20,64,911,5261,63,709,47,187,2,1 +121,99,3601,1380,27,1134,170,302,54,1 +20,64,1280,4485,93,1115,254,187,2,1 +20,178,994,903,44,541,202,338,23,1 +20,179,3181,4223,68,1402,144,50,23,1 +20,173,3980,4206,85,2241,206,151,58,1 +20,179,809,3703,85,541,428,50,23,1 +20,182,4118,2028,74,21,56,238,33,1 +81,154,3219,1689,166,1164,246,215,38,1 +20,208,3474,1358,44,651,231,326,53,1 +20,84,3681,2093,44,1766,104,239,2,1 +20,179,316,51,13,541,272,50,23,1 +20,178,7,51,44,332,382,338,23,1 +20,316,2342,5385,14,1051,295,119,36,1 +80,13,1692,7145,38,1108,54,313,64,1 +10,197,2361,3208,36,7,360,278,58,1 +20,178,3729,3833,14,541,295,338,23,1 +20,197,3156,1590,68,1869,186,278,58,1 +20,142,2064,699,44,2107,309,2,8,1 +60,178,2905,3036,69,541,299,338,23,1 +20,178,633,1808,13,541,278,338,23,1 +20,79,2582,3120,68,1002,360,334,24,1 +81,297,4117,1152,166,1368,52,91,23,1 +90,173,1662,1808,119,908,298,151,58,1 +20,179,2612,3208,93,541,306,50,23,1 +81,307,3865,530,166,89,323,141,60,1 +20,151,1033,5275,68,482,174,292,8,1 +20,203,3066,2580,93,355,268,42,30,1 +20,178,3359,6902,85,541,87,338,23,1 +13,99,1565,6326,152,2089,230,302,54,0 +20,280,1968,828,44,64,32,158,30,1 +20,178,2374,3886,63,541,396,338,23,1 +20,297,1014,5974,68,1202,144,91,23,1 +20,139,284,51,85,637,394,271,9,1 +20,178,3014,1572,44,1384,438,338,23,1 +20,50,3837,509,90,550,247,81,51,1 +20,297,2539,5732,85,2292,428,91,23,0 +20,313,2828,2135,74,1664,172,208,8,1 +78,224,1075,3929,71,1229,149,234,42,1 +107,205,677,1978,98,1944,94,263,30,1 +57,157,2891,5427,25,2231,109,233,52,1 +20,163,347,51,68,1865,186,68,30,1 +20,277,419,2606,93,541,306,284,23,1 +20,179,2752,2028,85,541,297,50,23,1 +20,316,592,5385,44,1709,353,119,36,1 +20,176,3404,5732,90,2058,221,259,31,0 +20,170,2884,4988,44,1294,104,179,2,0 +20,73,1666,1105,156,864,356,189,54,1 +20,240,1468,5226,93,354,409,109,42,1 +20,324,2117,292,74,1779,237,145,50,1 +20,178,3024,6140,68,541,174,338,23,1 +20,178,2374,5226,63,541,396,338,23,1 +122,197,3644,1808,72,1783,372,278,58,1 +20,178,3194,51,14,541,327,338,23,1 +20,240,1357,5749,44,1265,416,109,42,1 +122,282,3190,6307,167,1271,337,245,49,1 +20,179,1554,2195,37,36,192,50,23,1 +73,70,21,1808,132,1604,362,201,58,1 +20,240,2977,792,44,1595,421,109,42,1 +20,303,1583,6324,37,1190,55,18,6,1 +10,179,1577,956,36,1402,192,50,23,1 +11,83,293,5928,8,68,298,338,64,1 +4,178,3838,5664,151,541,294,338,23,0 +20,100,750,1125,68,235,4,30,33,1 +20,318,997,7164,93,617,22,94,60,1 +20,154,4113,4611,85,85,177,215,38,1 +20,179,500,1177,44,2055,371,50,23,1 +10,262,1720,1139,36,1141,81,126,9,1 +60,178,2722,1825,69,541,355,338,23,1 +20,178,2917,5099,37,541,393,338,23,1 +107,37,3267,5224,98,55,403,286,53,1 +96,73,975,285,97,150,170,189,54,0 +20,178,3354,1808,63,541,433,338,23,1 +103,276,2977,1268,136,1512,430,8,2,1 +10,140,2045,1352,36,694,378,49,30,1 +20,282,3863,1009,13,90,120,245,49,1 +20,203,737,7119,68,355,186,42,30,1 +20,170,1699,3566,13,1115,254,179,2,1 +49,47,3911,2413,64,15,14,284,42,1 +55,31,1106,875,70,491,275,85,28,1 +20,154,119,5224,44,799,220,215,38,1 +122,178,3405,1776,72,1522,71,338,23,1 +20,297,2030,5236,14,1402,367,91,23,1 +20,179,922,542,44,541,285,50,23,1 +20,12,3263,6420,90,616,153,21,42,1 +119,37,2729,3031,168,55,195,286,53,1 +83,174,2928,6793,56,1690,170,169,54,1 +20,1,652,3668,63,567,429,247,37,1 +119,178,688,4308,168,541,220,338,23,1 +94,73,4054,6371,53,1879,356,189,54,0 +20,303,1833,4022,37,1190,178,243,6,1 +20,179,2502,352,44,1402,371,50,23,1 +20,178,1463,6920,14,541,39,338,23,1 +20,46,1687,4490,90,833,390,198,1,1 +20,52,1398,5152,68,198,186,294,13,1 +20,179,648,51,68,541,183,50,23,1 +20,179,2012,4503,68,541,183,50,23,1 +122,302,3136,530,167,968,100,35,13,1 +20,35,869,3392,63,1192,98,307,51,1 +20,129,2660,5583,44,1012,440,23,30,0 +20,100,1408,5427,37,235,108,30,33,1 +67,84,3099,6713,155,647,441,239,2,1 +20,121,202,6450,44,1870,195,78,13,1 +5,73,3052,1263,148,1134,170,189,54,1 +20,274,773,1978,44,2202,416,264,30,1 +20,215,2433,3378,44,2122,403,44,30,1 +81,297,2591,4546,166,1368,52,91,23,1 +20,112,2771,3428,44,1765,403,277,53,1 +20,178,681,51,14,541,327,338,23,1 +20,297,2220,5709,63,744,396,91,23,1 +20,297,3561,6450,44,541,23,91,23,1 +90,31,103,4155,163,2132,379,85,28,1 +20,179,809,3002,85,1309,428,50,23,1 +20,274,2558,2555,68,2202,186,264,30,1 +44,138,1658,5044,108,652,426,150,42,1 +55,261,2647,1563,70,1337,364,10,65,1 +20,178,916,5088,37,541,421,338,23,1 +20,170,2125,2855,93,709,254,179,2,1 +79,105,2058,6816,92,1786,107,325,30,1 +20,179,3291,4223,68,1309,362,50,23,1 +20,179,316,3383,13,541,30,50,23,1 +20,203,645,1808,44,355,231,42,30,1 +20,43,2237,3351,44,567,182,257,30,1 +20,178,2294,4314,37,541,271,338,23,1 +119,178,688,51,168,541,220,338,23,1 +20,178,2030,6036,14,541,367,338,23,0 +20,178,2683,2447,85,541,293,338,23,1 +96,138,3132,2375,97,957,243,150,42,1 +20,240,2972,885,85,354,430,109,42,1 +20,178,2651,1808,68,541,335,338,23,1 +20,179,3523,5384,85,1402,297,50,23,1 +96,240,204,2375,23,281,243,109,42,0 +20,178,2668,6863,44,541,158,338,23,1 +20,132,2384,7119,44,1259,94,83,58,1 +20,179,3437,2819,14,436,295,50,23,1 +14,47,989,132,117,1490,124,284,42,1 +20,179,1492,7277,74,2289,263,50,23,1 +20,301,466,2955,74,90,263,320,49,1 +20,179,1405,526,63,541,433,50,23,1 +20,198,1739,5226,68,291,230,9,30,1 +81,179,3282,397,166,541,158,50,23,1 +20,334,3415,861,74,916,49,335,33,1 +20,179,2829,6520,68,1402,28,325,23,1 +55,278,3941,2227,70,1237,266,180,64,1 +20,178,559,3664,68,541,181,338,23,1 +20,163,3453,4276,68,1865,400,68,30,1 +20,179,2588,51,74,541,237,50,23,1 +20,190,1077,2555,85,671,322,1,8,1 +20,132,1685,1125,44,266,211,83,30,1 +20,178,3210,2098,68,541,366,338,23,1 +20,301,726,51,14,90,233,320,49,1 +103,179,1882,6422,136,541,199,50,23,1 +20,178,2294,4223,37,541,271,338,23,1 +20,278,1835,6904,39,654,189,338,64,1 +116,276,1795,7011,75,236,101,8,2,1 +20,105,2648,6816,44,291,0,325,30,1 +20,100,1682,3559,85,235,297,30,33,0 +78,301,1351,5202,71,166,424,320,49,1 +20,178,1939,1863,68,541,335,338,23,1 +93,47,3288,921,133,2089,40,284,42,1 +20,179,3436,3208,93,541,314,50,23,1 +20,178,259,66,63,541,433,338,23,1 +20,297,3472,51,85,1347,422,91,23,1 +20,240,2685,1123,15,41,148,109,42,1 +20,154,2829,51,68,799,28,215,38,1 +74,47,2823,2714,45,2089,356,284,42,1 +122,175,743,530,167,939,75,310,56,1 +20,179,1421,1261,37,1402,391,50,23,1 +20,260,1919,3768,44,164,259,63,11,1 +20,179,3850,956,44,1309,220,50,23,1 +7,99,2488,2022,96,2089,239,302,54,1 +20,178,2837,6131,37,1402,192,338,23,1 +67,187,954,3142,155,1917,379,330,28,1 +20,297,3909,884,68,541,335,91,23,1 +20,170,1229,6094,37,1294,153,179,2,1 +20,165,3061,5427,44,651,196,232,53,1 +13,138,3852,1424,152,1242,336,150,23,1 +20,179,2659,6314,44,541,220,50,23,1 +20,277,3743,1310,68,541,411,52,23,1 +20,179,2588,3396,74,1402,237,50,23,1 +50,73,3457,461,156,1654,170,189,54,1 +20,297,2286,999,44,1368,82,91,23,1 +20,197,2768,100,44,1583,146,278,58,1 +73,179,2959,103,132,541,209,50,23,1 +20,301,52,3392,85,242,224,320,49,1 +20,178,1353,4223,68,541,292,338,23,1 +20,178,966,3246,13,541,238,338,23,1 +20,245,3477,448,117,1689,124,283,51,1 +20,27,1739,2618,68,28,186,308,30,1 +20,105,1166,5226,68,2202,182,325,30,1 +20,178,410,5251,63,2055,144,338,23,1 +20,179,3285,4934,13,541,365,50,23,1 +20,179,2073,5613,74,1402,256,50,23,1 +20,112,2771,4424,44,1765,403,277,53,1 +113,32,2255,4183,47,1549,360,210,42,0 +20,150,898,4853,37,2247,118,183,6,1 +20,179,3539,3976,37,1402,391,50,23,1 +20,178,2711,6502,37,1402,108,338,23,1 +20,179,492,39,63,541,167,50,23,1 +20,301,1196,3142,37,90,296,320,49,1 +20,179,2082,5507,44,541,33,50,23,1 +20,297,1290,6498,44,1433,202,91,23,1 +80,83,4039,6904,38,384,298,290,64,1 +20,282,401,4133,37,1172,421,245,49,1 +20,178,2970,1416,44,541,360,338,23,1 +20,301,466,5307,74,90,263,320,49,1 +20,179,1746,4023,13,1402,71,50,23,1 +20,231,2109,2893,93,276,251,51,10,1 +20,196,1509,163,85,799,148,135,38,1 +96,47,1187,5127,173,15,210,284,42,1 +20,173,3563,5512,37,680,421,151,58,1 +20,178,3194,6313,14,541,327,338,23,1 +20,297,460,7180,68,2292,381,91,23,1 +20,60,3321,7279,85,2301,103,26,23,1 +43,109,351,2843,142,2108,298,154,64,1 +20,190,2687,3324,85,409,435,1,8,1 +50,47,1255,4966,156,2173,356,284,42,1 +10,38,879,4503,36,2254,396,22,57,1 +20,240,3065,6865,85,1637,99,109,42,1 +20,179,824,1560,85,1402,177,50,23,1 +20,178,2890,1504,44,541,36,338,23,1 +20,37,1173,2926,68,1499,400,286,53,1 +20,179,275,5955,63,541,185,309,23,1 +20,139,419,3208,93,2089,306,271,9,1 +81,20,4131,1874,166,1679,143,141,60,1 +20,79,1140,5507,37,954,421,334,24,1 +20,179,3101,2839,93,541,314,50,23,1 +20,138,1753,5966,100,1342,176,150,42,1 +20,211,1442,2190,85,819,328,235,2,1 +20,178,1803,3208,44,541,285,338,23,1 +90,278,3672,4223,163,1669,379,180,64,1 +20,301,654,482,68,90,411,320,49,1 +84,47,3777,3312,48,15,239,284,42,1 +17,99,1126,5368,122,1490,124,302,54,1 +15,170,860,2551,101,1200,124,179,2,1 +90,83,3041,1334,163,1511,298,290,64,1 +20,297,2528,833,44,741,382,91,23,1 +20,178,197,6387,85,541,287,338,23,1 +20,178,2206,51,37,541,393,338,23,1 +20,10,2390,3760,44,791,360,199,24,1 +20,11,4048,1499,44,278,146,131,0,1 +20,297,1108,3640,74,541,91,91,23,1 +10,179,560,5507,36,399,204,50,23,1 +20,101,4106,5226,63,267,207,113,55,1 +20,105,534,2076,44,634,0,325,30,1 +20,13,3552,6609,39,449,302,313,64,1 +113,37,58,5201,47,1499,26,286,53,1 +56,99,2898,3460,41,1857,124,302,54,1 +20,178,1478,1808,68,1402,144,338,23,1 +126,99,1544,6938,91,1690,326,302,54,1 +89,311,1198,4016,5,47,140,328,44,1 +113,163,1510,1978,47,1865,196,68,30,1 +20,84,183,7011,85,92,430,239,2,1 +20,297,2694,4455,44,1077,382,91,23,1 +122,183,2692,4262,72,72,373,242,36,0 +20,52,1444,5406,44,198,0,294,13,1 +56,99,919,4812,41,15,124,302,54,1 +20,58,1770,974,14,1598,39,208,8,1 +4,178,2926,5520,151,541,294,338,23,1 +20,207,3473,159,14,90,5,272,49,1 +92,163,3020,4765,65,2299,234,68,30,1 +20,288,3163,6733,74,1370,237,282,55,1 +93,111,1947,2375,133,2193,58,281,51,1 +67,179,2642,346,155,541,152,50,23,1 +20,276,3144,3055,85,785,328,8,2,1 +20,297,1803,542,44,541,285,91,23,1 +42,99,3445,6332,103,2089,239,302,54,1 +56,26,3821,4144,41,689,124,25,35,1 +96,73,2489,1799,173,1879,356,189,54,1 +103,217,3275,3968,136,2117,328,70,2,1 +20,154,1437,4653,68,799,371,215,38,1 +20,204,23,2109,13,1609,71,319,23,1 +20,324,123,3709,74,1779,237,145,50,1 +20,52,1929,7135,37,57,79,294,13,1 +20,127,197,1870,85,2103,287,88,55,1 +10,179,560,1879,36,1402,204,50,23,1 +10,179,2442,1550,36,1402,81,50,23,1 +35,99,3503,5686,138,1690,149,302,54,1 +20,84,3681,4553,44,1766,104,239,2,1 +123,13,1609,6609,39,449,54,313,64,1 +20,154,765,2098,68,2301,366,215,38,1 +20,337,4013,2748,44,2144,6,122,6,1 +20,297,3509,2575,74,198,5,91,23,1 +20,173,4129,1565,111,1916,312,151,58,1 +20,68,3188,1721,44,4,32,237,30,1 +20,178,3390,1808,85,541,87,338,23,1 +20,300,120,2,85,555,116,227,28,1 +20,163,2897,1978,44,255,210,68,30,1 +20,178,3437,2764,14,541,295,338,23,1 +20,282,179,226,14,1172,327,245,49,1 +20,240,2870,4736,44,354,32,109,42,1 +20,253,3004,3142,90,674,390,276,1,1 +20,11,4048,1721,44,278,146,131,0,1 +69,206,1182,146,134,1052,364,287,64,1 +20,282,231,3368,74,1938,237,245,49,1 +20,178,2127,2731,74,541,256,338,23,0 +50,99,1345,2438,156,1490,326,302,54,1 +90,160,1332,510,44,567,418,288,37,1 +20,151,4176,1709,74,1156,56,292,8,1 +20,178,363,5324,44,498,105,338,23,1 +20,297,3841,7065,44,1202,220,91,23,1 +20,185,2584,3768,37,280,296,174,56,1 +67,138,744,5507,155,541,294,150,42,1 +20,272,3509,2555,85,671,150,95,8,1 +77,298,3006,525,149,2022,0,194,52,1 +20,178,813,361,85,541,297,338,23,1 +20,267,592,5385,44,926,353,12,36,1 +20,178,2672,5753,85,541,297,338,23,1 +20,179,2205,748,37,541,393,50,23,1 +89,138,208,949,33,526,289,150,42,1 +20,175,1862,3375,44,1737,371,310,56,1 +20,219,1332,6094,44,1805,371,133,37,1 +121,76,1168,3690,161,336,170,108,21,1 +96,99,4064,2229,97,2089,356,302,54,1 +20,230,38,4305,44,805,159,184,2,1 +103,196,1647,5424,136,799,271,135,38,1 +20,178,1514,4462,13,1402,82,338,23,1 +103,206,3160,5801,162,820,298,287,64,1 +20,178,3645,1647,63,541,84,338,23,1 +20,179,1682,5937,85,541,297,50,23,1 +107,203,2466,2054,98,2006,134,42,30,1 +20,179,1693,6450,93,541,314,50,23,1 +49,99,3847,2462,84,1979,356,302,54,1 +20,197,1968,3175,44,2113,32,278,58,1 +20,213,67,2233,90,1605,226,28,14,1 +96,73,134,3809,23,196,356,189,54,1 +20,277,809,1210,85,1996,428,52,23,1 +89,73,2465,2229,32,359,170,189,54,1 +20,178,1917,3187,74,541,263,338,23,1 +20,203,2766,4276,44,1178,403,42,30,1 +20,79,75,6567,44,2281,440,334,24,1 +20,137,2229,509,63,923,245,241,51,1 +20,160,856,6665,37,567,192,288,37,1 +20,178,4147,333,68,541,183,338,23,1 +20,272,3790,4317,93,671,150,95,8,1 +20,163,991,858,44,1257,262,68,30,1 +119,163,2690,5732,168,1710,26,68,23,1 +20,203,1184,4995,44,574,231,42,30,1 +78,292,754,4128,71,844,424,221,15,1 +20,84,183,1963,85,92,430,239,2,0 +20,179,2627,4005,37,541,192,50,23,1 +20,178,652,51,63,2105,429,338,23,1 +20,321,2512,3517,85,108,301,129,28,1 +20,179,2220,1000,63,541,396,50,23,1 +20,179,1591,1297,74,1402,256,50,23,1 +20,1,3082,7230,74,614,263,247,37,0 +20,277,1294,1560,85,2216,402,52,23,1 +67,178,2474,5849,3,541,355,338,23,1 +40,231,1102,6055,17,213,364,51,10,1 +20,240,2829,969,68,354,28,109,42,1 +20,100,3967,4340,14,235,437,30,33,1 +20,178,500,2290,44,541,371,338,23,1 +122,175,2839,530,167,1363,337,310,56,1 +86,99,3984,5134,81,2089,14,302,54,1 +20,179,1928,6298,135,1402,256,50,23,1 +20,178,3024,2048,68,541,174,338,23,1 +56,99,790,7192,41,1167,124,302,54,1 +20,178,2567,4685,37,541,391,338,23,1 +20,240,1089,6617,93,354,115,109,42,1 +20,178,1421,4223,37,541,391,338,23,1 +20,179,3282,6048,68,1402,158,50,23,1 +96,99,516,2375,23,2089,356,78,54,1 +20,228,1807,1009,13,899,75,37,23,1 +20,154,4125,4941,44,799,382,215,38,1 +20,179,2294,930,37,541,271,50,23,1 +122,100,288,6544,167,1970,29,30,33,1 +20,179,3214,2480,13,23,80,50,23,1 +20,179,3108,6995,85,1402,322,50,23,1 +96,73,1936,3768,97,2020,356,189,54,1 +125,99,606,4824,170,1490,124,302,54,1 +20,303,1833,2304,37,1190,178,243,6,1 +93,174,399,2032,133,1690,239,169,54,1 +20,178,2708,6723,14,1402,39,338,23,1 +94,73,4054,1987,53,874,356,189,54,1 +20,221,2632,1264,85,1758,99,231,8,1 +113,32,2255,5220,47,1549,360,210,42,0 +10,133,2279,6380,66,1494,124,300,11,1 +20,282,401,51,37,1172,421,245,49,1 +20,274,1635,1978,68,2202,445,264,30,1 +20,52,1192,7119,37,198,370,294,13,1 +20,282,1214,2675,93,90,222,245,49,1 +103,95,1086,4066,162,921,418,146,42,1 +20,203,2159,6816,44,1245,262,42,30,1 +20,132,1251,2751,44,266,211,83,30,1 +20,179,1146,5709,63,541,396,50,23,1 +20,178,284,374,85,541,124,338,23,1 +20,179,316,3125,93,541,30,50,23,1 +20,315,3662,61,74,394,56,309,23,1 +20,282,231,51,74,1725,237,245,49,1 +20,204,3104,861,37,1860,428,319,23,1 +103,1,132,6989,136,567,263,247,37,1 +20,203,1026,1978,44,2047,130,42,30,1 +20,182,1019,6566,68,235,159,238,33,1 +81,178,4117,1152,166,541,52,338,23,1 +20,178,1798,3962,93,541,131,338,23,1 +20,154,3350,1940,44,799,381,215,38,1 +83,99,2871,1056,56,1478,326,302,54,1 +20,59,2038,1963,68,1964,445,214,12,1 +6,213,1163,2638,126,2285,321,28,14,1 +20,297,4174,51,13,2292,75,91,23,1 +20,178,1492,2879,74,541,263,338,23,1 +20,179,965,2101,85,1402,322,50,23,1 +20,179,49,6153,44,541,144,50,23,1 +20,179,2469,1141,85,541,287,50,23,1 +20,313,4183,51,74,2102,172,178,44,1 +20,178,2627,5199,37,1402,192,338,23,0 +62,99,1824,3428,49,1490,124,302,54,1 +20,274,347,6046,68,2202,186,264,30,1 +78,47,13,6691,71,1550,149,284,42,1 +20,179,1987,4874,37,541,192,50,23,1 +20,209,192,4357,44,1920,371,87,8,1 +20,297,1369,7164,93,1202,251,91,23,1 +42,138,3765,6252,103,1814,289,150,42,1 +13,73,1538,6094,152,196,356,189,54,1 +20,139,2687,6469,13,637,278,271,9,0 +20,179,2205,1039,37,1191,393,50,23,1 +20,230,595,1988,85,1766,328,184,2,1 +20,2,4073,1336,63,423,396,74,55,1 +20,297,652,2111,63,1054,429,91,23,1 +20,297,2789,543,63,1300,381,91,23,1 +20,281,4099,1207,44,1856,440,254,30,1 +20,179,2567,51,37,541,391,50,23,1 +9,32,3180,6839,10,15,149,210,42,1 +65,179,1754,5863,36,541,385,50,23,1 +20,62,3093,3754,68,186,333,295,23,1 +20,179,1866,2731,74,541,256,50,23,1 +89,47,3945,3092,32,15,356,284,42,1 +20,297,2271,2203,85,2292,177,91,23,1 +20,307,930,4032,39,820,302,228,23,1 +20,178,667,6094,44,541,144,338,23,1 +20,297,3561,4888,44,1402,285,91,23,1 +80,261,362,7139,38,774,275,10,65,1 +20,282,3357,1123,13,1068,109,245,49,1 +77,157,1831,1808,149,1548,109,233,52,1 +20,178,590,1079,37,541,192,338,23,1 +20,200,2212,1797,37,799,393,116,38,1 +20,179,1188,5753,85,541,428,50,23,1 +20,179,290,6527,74,541,256,50,23,1 +20,240,3209,3240,68,186,333,109,42,1 +20,296,3516,2808,85,2060,19,172,47,1 +81,277,2955,4243,166,394,52,52,23,1 +20,197,3188,6913,44,2113,32,278,58,1 +20,143,4127,51,85,1159,287,84,60,1 +20,179,1562,5610,37,541,393,50,23,1 +20,297,1894,3731,37,332,421,91,23,1 +96,47,1098,4986,173,15,239,284,42,1 +103,278,1943,5568,162,654,298,180,64,1 +88,120,1057,2413,100,728,170,240,17,1 +20,231,2263,819,44,502,206,51,10,1 +86,311,2989,1113,81,2209,140,328,44,1 +20,178,750,3212,68,541,174,338,23,1 +49,47,3847,2462,84,15,356,284,42,1 +20,277,1369,1100,93,541,251,52,23,1 +20,282,1330,3443,44,2255,33,245,49,1 +20,178,1167,566,44,541,371,338,23,1 +20,211,595,6094,85,761,328,235,2,1 +20,301,2209,4392,68,90,366,320,49,1 +78,301,1351,924,71,166,424,320,49,1 +20,297,494,2203,85,741,177,91,23,1 +20,282,1330,5226,44,2255,33,245,49,1 +20,163,2932,3243,44,1379,210,68,30,1 +93,47,2659,4484,133,2089,356,284,42,1 +20,178,3186,589,93,1402,294,338,23,0 +20,282,483,4983,85,90,297,245,49,0 +20,5,3525,4223,68,810,411,48,40,1 +20,263,3553,2355,93,355,378,171,30,1 +121,47,1639,181,161,15,239,284,42,1 +20,288,3163,5549,74,1370,237,282,55,1 +81,92,53,530,166,1985,331,39,48,1 +81,315,2955,6056,166,394,52,309,23,1 +66,18,1737,1604,39,1748,62,90,32,1 +20,277,3454,767,63,394,185,52,23,1 +57,298,1868,5157,25,541,109,194,52,1 +20,179,2208,4803,13,541,383,50,23,1 +20,240,1492,5031,90,354,263,109,42,1 +20,175,1862,6561,44,1737,371,310,56,1 +89,178,3,5663,112,541,393,338,23,1 +20,179,1928,1843,74,1402,256,50,23,0 +20,219,1332,2693,44,1805,371,133,37,1 +89,73,2071,2229,32,1793,170,189,54,1 +47,99,976,2229,78,1490,124,302,54,1 +15,73,2461,3768,101,15,124,189,54,1 +20,297,2694,6607,44,1077,382,91,23,1 +20,240,3061,2669,44,41,134,109,42,1 +20,178,3191,4485,44,541,173,338,23,1 +20,179,3647,5723,85,541,177,50,23,1 +20,197,1980,658,93,252,76,278,58,1 +20,178,3436,1743,68,541,314,338,23,1 +20,302,643,3428,68,858,157,35,13,1 +20,178,870,220,44,1402,57,338,23,1 +8,47,867,2835,118,15,149,284,42,1 +20,179,3319,5020,13,541,219,50,23,1 +20,114,2213,572,13,1464,80,265,36,1 +20,203,2547,4824,93,574,268,42,30,1 +20,203,2927,4765,44,975,231,42,30,1 +20,178,1494,3785,13,541,64,338,23,1 +20,230,3041,2720,85,218,430,184,2,1 +81,262,2961,1151,166,637,373,126,9,1 +20,105,534,281,44,634,0,325,30,1 +20,13,332,326,39,654,302,313,64,1 +20,165,3061,4503,44,651,196,232,53,1 +125,41,3234,482,121,413,124,164,54,0 +56,99,2923,921,41,816,124,302,54,1 +43,206,1428,2843,142,667,54,287,64,0 +107,302,3397,4223,98,683,210,35,13,1 +20,179,1917,5119,74,541,263,50,23,1 +122,245,1959,6872,72,1943,35,283,51,1 +20,69,401,4850,37,79,421,11,13,1 +20,334,3156,6511,68,835,186,335,33,1 +107,30,436,926,98,522,6,110,40,0 +20,100,750,5200,68,235,4,30,33,1 +20,215,550,5615,68,1706,400,44,30,1 +20,287,1588,51,44,1026,158,75,0,1 +56,47,2785,7085,41,816,124,284,42,1 +20,297,1642,51,37,1202,177,91,23,1 +81,179,1016,5946,166,541,238,50,23,1 +20,282,2480,2164,68,1172,8,245,49,1 +84,73,658,3312,48,699,239,189,54,1 +20,297,2502,1292,44,2292,371,91,23,1 +20,179,2208,2026,13,1402,238,50,23,0 +20,196,1509,5895,85,799,148,135,38,1 +50,73,318,1380,156,864,326,189,54,0 +116,148,2681,1978,75,183,182,115,53,1 +20,58,1642,2833,37,1664,177,208,8,1 +20,65,1877,828,44,1940,32,156,30,1 +20,179,2581,1917,37,1402,421,50,23,1 +78,260,409,2467,71,958,424,63,11,1 +20,179,3778,5956,93,541,30,50,23,1 +20,150,2463,1833,37,2247,118,183,6,1 +20,178,2567,51,37,541,391,338,23,1 +100,47,93,4838,2,2089,170,284,42,1 +67,179,71,5601,131,2055,427,50,23,1 +122,178,2561,1009,167,541,75,338,23,1 +121,47,921,2985,161,15,239,284,42,1 +20,297,3936,7209,14,541,233,91,23,1 +20,178,2412,1103,14,541,295,338,23,0 +20,302,3579,2993,13,968,361,35,13,1 +20,27,1739,7119,68,28,186,308,30,1 +86,28,3049,3695,147,428,170,246,63,1 +86,99,434,3768,18,2089,356,302,54,1 +122,277,995,487,37,511,291,52,23,1 +20,301,401,6099,37,90,421,320,49,1 +112,73,2603,6440,153,177,170,189,54,1 +81,179,2810,2038,166,541,42,50,23,1 +20,277,649,707,44,1172,371,52,23,1 +1,73,1500,789,160,1879,149,189,54,1 +20,178,3539,2788,37,541,391,338,23,1 +43,13,505,6442,142,449,54,313,64,0 +20,163,317,5814,68,1865,38,68,30,1 +20,178,2726,5224,44,1178,0,44,30,1 +20,297,2731,572,44,541,57,91,30,1 +20,178,3729,2819,14,436,295,338,23,1 +20,178,2705,1115,14,1402,295,338,23,1 +20,178,2607,4803,68,541,292,338,23,1 +20,282,3800,3572,68,1172,144,245,49,1 +20,139,2801,6094,44,637,144,271,9,1 +20,198,1247,1963,68,111,230,9,30,1 +103,261,1652,5226,162,1422,275,10,65,1 +20,179,3147,4148,63,2054,396,117,55,1 +20,318,2773,6801,63,571,126,94,60,1 +67,178,603,4223,155,541,105,338,23,1 +20,297,197,6377,85,541,287,91,23,1 +20,240,3061,1358,44,41,134,109,42,1 +20,64,706,6131,44,1294,104,187,2,1 +20,62,2193,3229,74,1408,49,295,23,1 +81,92,2460,530,166,1985,331,39,48,1 +10,32,807,1547,66,1690,149,210,42,1 +20,139,2545,6469,93,290,131,271,9,1 +89,73,4001,2125,5,177,170,189,54,1 +122,173,2258,530,72,1739,372,151,58,1 +20,204,727,6987,14,910,327,319,23,1 +20,297,1614,2528,14,1202,327,91,23,1 +20,297,966,2772,13,1202,238,91,23,1 +20,297,1283,4034,85,1402,177,91,23,1 +20,178,1388,530,13,541,75,338,23,1 +110,47,3117,3380,120,15,356,284,42,1 +20,230,952,3909,68,805,159,184,2,1 +12,240,508,5559,15,1312,148,109,42,1 +20,178,4160,6123,68,1402,174,338,23,1 +20,178,1904,2133,37,541,304,338,23,1 +83,47,876,4958,56,2089,326,284,42,1 +20,190,2204,6342,37,671,421,1,8,1 +20,301,401,5770,37,90,421,320,49,1 +55,310,1707,5492,70,692,86,258,60,1 +20,179,1541,1009,13,1402,238,50,23,1 +20,315,2687,530,13,1773,346,309,23,1 +81,178,3179,5474,166,541,52,338,23,1 +20,178,1559,2960,93,1402,306,338,23,1 +69,109,651,4062,134,685,298,154,64,1 +20,121,4133,5068,85,741,435,78,13,1 +121,73,2122,6235,161,1879,356,189,54,1 +20,282,3629,1792,85,2011,223,245,49,1 +55,31,1106,7142,70,491,275,85,28,1 +20,11,1903,1808,44,405,158,131,0,1 +20,277,11,482,74,394,56,52,23,1 +98,248,2018,3922,130,2205,298,98,10,1 +77,127,839,5507,83,1763,114,88,55,1 +20,297,1024,4497,44,1751,360,91,23,1 +4,277,3317,279,151,394,294,52,23,1 +20,297,1082,207,14,1402,248,91,23,1 +20,297,1314,1450,14,541,230,91,23,1 +20,198,1247,5732,68,2202,230,9,30,1 +20,121,1337,1993,85,198,177,78,13,1 +20,178,1283,4611,85,541,177,338,23,1 +107,62,4073,1803,98,186,396,295,23,1 +122,297,2526,530,167,462,100,91,23,1 +20,62,3093,5427,68,186,333,295,23,1 +20,301,1371,221,85,90,363,320,49,1 +20,179,1365,1534,13,541,75,50,23,1 +20,300,2109,6450,93,1998,409,227,28,1 +20,200,2163,5554,13,799,238,116,38,1 +20,240,4062,4223,37,1781,236,109,42,1 +20,179,3687,956,44,541,144,50,23,1 +20,161,1597,6469,13,608,35,211,51,1 +20,179,2037,3497,93,541,238,50,23,1 +20,204,4123,4959,44,584,382,319,23,1 +20,178,1898,2179,14,1384,327,338,23,1 +20,178,3801,7011,90,1949,311,239,2,1 +67,200,2642,4803,155,799,152,116,38,1 +20,12,3415,6989,74,175,226,21,42,1 +81,179,1976,7160,166,541,52,50,23,1 +20,151,4176,853,74,1661,56,292,8,1 +20,221,3469,1297,85,1758,99,231,8,1 +20,297,1562,2998,37,541,393,91,23,1 +57,256,2572,3428,25,332,109,4,52,1 +20,179,2979,3687,14,541,41,50,23,1 +20,178,2567,1409,37,541,391,338,23,1 +20,178,676,5275,44,541,112,338,23,0 +81,192,1342,6872,167,2280,240,182,51,1 +20,219,1537,4123,74,567,91,133,37,1 +20,297,3960,4694,37,541,391,91,23,1 +20,219,381,1883,14,1805,340,133,37,1 +83,73,4108,3583,56,2164,326,189,54,1 +20,178,3014,1938,44,1384,371,338,23,1 +20,297,1068,42,93,472,30,91,23,1 +101,99,1827,5329,105,896,356,302,54,1 +20,179,2588,2378,74,1402,237,50,23,1 +20,179,1992,5093,68,541,152,50,23,1 +20,179,2672,1123,85,541,297,50,23,1 +20,179,3780,2425,74,1018,237,50,23,1 +86,99,3953,1969,147,2089,356,302,54,1 +20,10,3830,5753,85,2281,177,199,24,1 +20,204,3372,530,13,1609,64,319,23,1 +20,282,2220,3958,68,1068,144,245,49,1 +20,178,1939,4589,68,541,335,338,23,1 +20,160,3561,2699,44,567,285,288,37,1 +107,310,1707,4032,98,692,436,258,60,1 +20,203,2180,482,44,574,134,42,30,1 +20,179,2917,861,37,541,393,50,23,1 +20,84,2494,2310,90,8,311,239,2,1 +20,297,3242,6110,93,541,229,91,23,0 +98,313,1661,2010,165,2121,148,178,44,1 +20,297,2023,6616,13,2292,100,91,23,1 +96,266,1962,6879,173,650,243,140,51,1 +50,138,4035,3695,156,2050,124,150,42,1 +20,221,2632,1123,85,1758,99,231,8,1 +20,190,963,4216,85,671,37,1,8,1 +20,179,2404,4555,14,541,295,50,23,1 +20,302,3879,6037,44,1557,0,35,13,1 +20,190,1640,1123,85,671,318,1,8,1 +20,132,84,6511,68,1187,332,83,30,1 +90,187,1130,325,163,296,379,330,28,1 +20,302,2633,5272,44,1871,210,35,13,1 +20,64,3789,6862,68,1294,159,187,2,1 +20,282,1214,1808,93,90,345,245,49,1 +20,240,1983,1100,93,354,76,109,42,1 +20,217,86,3355,136,2117,328,70,2,1 +20,179,3531,1444,68,541,360,50,23,1 +8,224,1436,2255,118,1229,149,234,42,1 +122,178,3405,1009,72,2063,71,338,23,1 +20,2,4073,4550,63,423,396,74,55,1 +20,140,3100,530,74,531,361,49,30,1 +20,282,2137,456,14,2084,295,245,49,1 +20,316,1953,5385,13,1709,64,119,36,1 +20,179,162,191,68,541,8,50,23,1 +20,178,1540,2984,44,541,371,338,23,1 +20,178,2551,3777,44,541,381,338,23,1 +20,297,1963,4575,44,541,371,91,23,1 +20,179,1421,5325,37,1402,391,50,23,1 +20,282,3867,5753,85,90,103,245,49,1 +20,178,2469,3567,85,541,287,338,23,1 +20,297,3870,55,14,541,248,91,23,1 +112,73,3483,1799,153,932,170,189,54,1 +20,198,2025,4052,44,291,0,9,30,1 +20,179,364,4682,37,541,393,50,23,1 +20,178,1030,51,13,541,346,338,23,1 +20,240,3989,1874,93,1781,76,109,42,0 +20,179,1064,5507,44,541,418,50,23,1 +20,301,3743,3583,68,90,411,338,49,1 +20,83,332,3565,39,384,189,290,64,1 +20,179,2208,4785,13,1109,383,50,23,1 +20,197,51,4265,44,925,348,278,58,1 +20,179,2404,5065,14,541,295,50,23,1 +20,198,1173,5137,68,679,400,9,30,1 +125,99,2141,3768,121,1490,124,302,54,0 +20,179,282,4435,68,541,381,50,23,1 +20,170,2125,2622,93,709,254,179,2,1 +81,154,3219,5867,166,1164,246,215,38,1 +20,231,2263,5917,85,502,206,51,10,1 +20,179,1939,4974,108,541,335,50,23,1 +20,178,3870,2726,14,541,248,338,23,1 +17,327,840,1410,122,689,124,320,54,1 +20,178,625,5028,14,541,41,338,23,1 +17,73,1870,6893,122,2169,124,189,54,1 +20,296,4166,5769,85,2143,19,172,47,1 +20,43,3700,2229,44,1281,319,257,30,1 +89,99,1303,5458,33,1690,14,302,54,1 +73,170,1287,6683,60,1294,159,179,2,0 +20,52,1444,482,44,198,0,294,13,1 +81,154,3219,658,166,1164,323,215,38,1 +20,179,3024,2142,68,1402,174,50,23,1 +20,236,3833,5096,93,1998,409,203,28,1 +96,47,1967,1799,173,15,239,284,42,1 +55,187,2907,4091,70,1669,379,330,28,1 +20,255,4014,4035,85,1002,328,267,38,1 +20,302,1039,4239,44,858,438,35,13,1 +20,154,2163,2639,13,2101,238,215,38,1 +36,99,1486,530,24,1650,5,302,54,0 +20,79,1859,51,68,2281,381,334,24,1 +67,315,1096,4821,155,2024,285,309,23,1 +81,179,1840,2464,166,541,52,50,23,1 +20,179,1554,2195,37,1773,192,50,23,1 +20,245,548,509,63,610,58,283,51,1 +80,13,3931,4032,38,1738,54,313,64,1 +20,178,3024,1613,68,541,174,338,23,1 +14,99,989,5732,117,1490,124,302,54,1 +89,99,983,949,32,2089,239,302,54,1 +20,230,101,6471,37,1766,153,184,2,1 +20,179,410,1626,44,541,144,50,23,1 +20,178,3500,3743,68,1402,264,338,23,1 +20,302,3511,5090,68,968,183,35,13,1 +17,99,1256,5224,122,1690,124,302,54,1 +19,99,2580,1887,9,2089,239,302,54,1 +20,178,3784,6338,44,541,112,338,23,1 +20,198,1063,4223,93,1248,378,9,30,1 +20,105,1896,482,68,2202,186,325,30,1 +20,236,120,6108,85,1592,116,203,28,1 +95,99,885,7043,7,2089,239,302,54,1 +20,179,2468,4223,44,541,382,50,23,1 +7,99,2420,2437,96,1314,170,302,54,1 +113,214,1978,1269,47,2211,330,175,32,1 +20,178,494,4323,85,1384,177,338,23,1 +20,215,3560,5226,44,1163,134,44,30,1 +20,16,3491,3103,37,894,55,66,6,1 +20,230,2921,1988,85,943,328,184,2,1 +20,204,3042,51,44,1609,173,319,23,1 +23,178,3686,956,157,1384,192,338,23,1 +62,99,1223,2229,49,1490,124,302,54,1 +20,178,3319,6177,13,541,219,338,23,1 +20,240,1468,2639,93,354,409,109,42,1 +20,315,501,2393,13,201,75,309,23,1 +20,182,3915,51,37,289,209,238,33,1 +20,178,3515,852,93,1384,385,338,23,1 +20,198,2414,5551,68,2202,186,9,30,1 +107,166,1501,3658,98,818,130,107,42,0 +20,301,1930,6094,44,90,371,320,49,1 +35,32,1402,1424,138,1690,149,210,42,1 +20,301,1371,2164,85,90,363,320,49,0 +20,178,633,908,13,541,278,338,23,1 +20,178,2127,861,74,541,256,338,23,1 +20,163,2932,1747,44,1379,210,68,30,1 +20,208,1063,6094,93,651,131,326,53,1 +20,196,4012,4317,85,1176,148,135,38,1 +81,135,1245,239,166,2281,188,252,24,1 +77,297,429,7164,114,1812,366,91,23,1 +20,203,84,5224,68,390,1,42,30,1 +20,178,284,1320,85,541,394,338,23,1 +67,154,2296,1821,155,799,105,215,38,1 +20,179,4116,1402,37,541,108,50,23,1 +20,178,2701,51,74,1384,263,338,23,1 +80,83,1047,3010,38,384,298,290,64,1 +55,236,238,2268,70,1625,275,203,28,1 +14,105,3222,1978,89,1086,107,325,30,1 +103,150,793,3768,162,1945,442,183,6,1 +98,179,1998,700,130,541,177,50,23,1 +0,99,3570,7067,67,1690,326,302,54,1 +20,297,3932,3893,14,2292,327,91,23,1 +20,179,397,6094,68,1402,8,50,23,1 +20,179,3515,5178,93,541,222,50,23,1 +20,200,3350,4653,44,799,381,116,38,1 +118,99,690,6417,171,2089,356,302,54,1 +20,323,4176,1319,74,1904,56,149,8,1 +116,163,3141,3650,75,1865,210,68,30,1 +44,252,820,1291,108,1387,170,250,54,1 +81,116,1194,530,166,2190,22,91,60,1 +20,179,2404,51,14,541,295,50,23,1 +20,240,3061,6770,44,41,196,109,42,1 +55,173,322,3922,70,1583,362,151,58,1 +20,178,922,951,44,541,285,338,23,1 +103,262,1347,6374,136,637,343,126,9,1 +20,179,1817,3208,63,541,264,50,23,1 +43,278,2103,5568,142,2108,298,180,64,1 +20,173,997,3884,93,1047,22,151,58,1 +20,179,3497,861,68,1309,366,50,23,1 +69,109,4153,2842,134,194,298,154,64,0 +122,297,2526,6869,167,462,100,91,23,1 +107,37,3290,482,98,55,414,286,53,1 +0,73,1107,1056,67,864,356,189,54,1 +20,179,1997,51,174,2055,237,50,23,1 +63,205,2881,482,30,77,107,263,30,1 +43,307,3349,1474,142,667,54,228,64,0 +20,179,966,7164,13,541,238,50,23,1 +20,178,713,448,44,1384,382,338,23,1 +20,84,2800,5311,90,811,13,239,2,1 +20,178,2220,726,63,541,396,338,23,1 +121,245,1144,1982,161,1489,58,283,51,1 +20,101,4106,5507,63,1775,207,113,55,1 +20,301,3773,5026,37,90,393,320,49,1 +20,315,2818,2773,74,394,56,309,23,1 +20,179,4160,2160,68,541,174,50,23,1 +120,278,3825,3529,124,2149,298,180,64,0 +20,178,526,1883,14,1402,340,338,23,1 +83,174,270,4052,56,1690,356,169,54,1 +20,178,750,287,68,1402,174,338,23,1 +20,277,3454,2491,63,394,185,52,23,1 +20,79,355,6094,44,2281,144,334,24,1 +116,32,141,3460,75,1281,94,257,30,1 +84,76,507,5134,48,336,170,108,21,1 +126,73,3979,1512,91,864,356,189,54,1 +81,173,1723,530,166,2074,323,299,22,1 +20,163,1860,654,44,760,403,68,30,1 +20,297,3791,20,85,2245,87,91,23,1 +20,154,669,5853,13,2101,238,215,38,1 +90,83,1119,5141,163,820,258,290,64,1 +24,73,3131,6249,52,1879,149,189,54,1 +20,302,2734,3208,68,980,351,35,13,1 +20,11,2650,482,68,422,360,131,0,1 +20,282,179,1073,14,90,327,245,49,1 +20,178,2365,861,93,541,294,338,23,0 +10,238,3571,2669,36,651,408,103,30,1 +20,179,1693,5732,93,541,314,50,23,1 +125,99,2126,482,121,1490,124,302,54,1 +20,240,379,658,93,354,58,109,42,1 +103,196,2009,2829,136,2041,382,135,38,1 +20,297,3561,482,44,541,23,91,23,1 +20,179,187,748,44,1402,382,50,23,1 +20,190,1556,3754,74,671,162,1,8,1 +20,282,2080,2784,93,90,251,245,49,1 +20,178,3210,3342,68,541,366,338,23,1 +49,138,2578,6513,64,1471,243,150,42,0 +20,161,3311,6745,13,162,240,211,51,1 +20,297,316,1151,13,541,30,91,23,1 +122,227,3488,530,72,1849,63,5,56,1 +20,179,590,861,37,541,192,50,23,1 +20,150,1583,7261,37,1190,55,183,6,1 +20,282,1616,394,85,858,428,245,49,1 +96,240,1756,5127,23,354,281,109,42,1 +20,297,813,5569,85,541,297,91,23,1 +103,179,1647,6454,136,541,271,50,23,1 +20,154,2638,5507,37,799,393,215,38,1 +88,99,988,1446,100,2089,356,302,54,1 +120,83,3578,6904,124,384,298,290,64,1 +20,79,1033,6859,68,1583,174,334,24,1 +125,174,2141,5973,121,1107,124,169,54,1 +20,179,2829,4990,68,1402,28,50,23,1 +96,99,2444,4986,23,2089,239,302,54,1 +20,204,3042,5917,44,1609,82,319,23,1 +62,245,1618,4519,49,1658,58,283,51,1 +20,182,3175,51,44,1977,416,238,33,1 +20,150,1833,5552,37,909,194,183,6,1 +20,263,2190,2639,93,510,378,171,30,1 +20,163,3814,482,68,1865,207,68,30,1 +20,179,4074,51,13,541,75,50,23,1 +20,179,2588,6988,74,1402,237,50,23,1 +20,297,2130,6036,14,541,367,91,23,1 +20,178,3327,3449,13,541,344,338,23,1 +20,179,590,5226,37,541,192,50,23,1 +64,179,4046,7278,62,541,295,50,23,1 +91,278,1115,7268,130,1509,83,180,64,0 +98,206,2380,5492,130,2229,217,287,64,1 +20,203,1346,4588,68,574,186,42,30,1 +20,301,1213,1627,63,90,396,320,49,1 +31,207,1242,6253,140,1494,424,272,49,1 +20,274,2217,6816,68,2202,230,264,30,1 +89,99,1372,2229,33,2089,356,302,54,1 +20,179,341,51,37,541,393,50,23,1 +20,60,3321,2312,85,2301,103,26,23,1 +49,47,2603,6072,64,15,170,284,42,1 +20,151,2981,5172,13,482,404,292,8,1 +20,262,3454,3168,63,1185,185,126,54,1 +49,73,816,7026,64,1879,239,189,54,1 +20,84,183,7226,85,92,430,239,2,1 +119,165,1532,5226,168,1394,438,232,53,1 +119,52,3714,5732,168,980,261,294,13,1 +91,173,993,4334,130,879,364,151,58,1 +20,240,1902,4100,44,354,211,109,42,1 +20,179,4144,3439,85,541,363,50,23,1 +20,297,316,6475,13,541,30,91,23,1 +20,297,1290,4118,44,1433,202,91,23,1 +110,99,334,2229,120,2089,239,302,54,1 +20,178,941,1412,37,541,393,338,23,1 +4,178,3838,3992,151,808,294,338,23,1 +126,47,2792,7008,154,2242,124,284,42,1 +83,99,630,3583,56,1690,326,302,54,1 +20,297,974,2819,14,1202,295,91,23,1 +49,266,2980,3649,64,650,170,140,51,1 +110,47,519,7008,120,15,239,284,42,1 +20,178,3024,2475,68,541,174,338,23,1 +20,163,84,5963,68,1865,1,68,30,1 +20,179,4004,119,74,541,256,319,23,0 +20,178,1513,841,68,541,174,338,23,1 +20,179,2984,6391,93,541,395,50,23,1 +20,302,771,482,37,1313,236,35,13,1 +27,47,863,5251,57,15,239,284,42,1 +125,174,3234,272,121,841,124,169,54,1 +20,140,225,1988,93,510,378,49,30,1 +20,75,3000,5917,90,1428,390,197,1,1 +20,178,2530,1151,13,541,365,338,23,1 +20,151,1033,2138,68,482,174,292,8,1 +20,132,2384,2618,44,1259,94,83,30,1 +20,154,3350,1884,68,799,371,215,38,1 +62,99,1551,6254,49,1490,124,302,54,1 +29,83,1584,3872,129,659,298,290,64,1 +50,47,2155,3603,156,372,356,284,42,1 +20,197,3853,1649,44,846,309,278,58,1 +20,178,3539,569,37,541,391,338,23,1 +20,302,3879,482,44,1557,0,35,13,1 +20,240,3257,943,85,1247,328,109,42,1 +20,274,1480,1879,68,2202,186,264,30,1 +20,150,1583,252,37,54,55,183,6,1 +78,282,409,5219,71,35,424,245,49,1 +20,178,2539,3208,85,541,428,338,23,1 +20,178,223,6194,68,541,144,338,23,1 +20,138,849,4422,85,354,328,150,42,1 +20,297,1494,4515,13,1202,64,91,23,0 +20,179,643,1808,68,541,157,50,23,1 +20,62,2145,520,74,2301,263,295,23,1 +20,91,3880,1879,68,316,333,89,39,1 +20,301,466,51,74,90,263,320,49,1 +118,73,367,3768,171,196,356,189,54,1 +20,182,3915,2269,37,289,209,238,33,1 +20,178,1030,1009,13,541,346,338,23,1 +20,210,2610,2562,90,880,390,170,1,1 +113,163,1510,6816,47,1865,196,68,30,1 +20,178,3647,6341,85,541,177,338,23,1 +20,178,1601,4933,74,541,256,338,23,1 +20,178,284,3652,85,541,394,338,23,1 +71,179,528,1054,110,541,263,50,23,1 +55,240,1564,6120,70,1678,379,109,42,1 +23,99,3079,3768,157,743,356,302,54,1 +20,139,2687,6027,13,637,346,271,9,1 +20,86,1331,3583,68,941,381,219,0,1 +20,173,757,4787,37,1465,125,151,58,1 +103,196,2805,4244,136,799,393,135,38,1 +119,205,3513,6308,168,890,423,263,30,1 +20,151,4176,381,74,1406,56,292,8,1 +81,179,1322,3959,166,541,52,50,23,1 +103,95,86,841,136,921,328,146,42,0 +20,197,2266,5427,44,1652,418,278,58,1 +15,73,3762,1406,101,1972,124,189,54,1 +20,138,960,4469,90,1623,226,150,42,1 +20,178,3014,2321,44,1384,371,338,23,1 +20,178,1142,4609,44,541,220,338,23,1 +96,99,3012,2375,173,2089,356,302,54,1 +48,311,2382,2104,28,2121,148,328,44,1 +20,178,1733,6112,93,541,306,338,23,1 +20,67,2628,3940,90,961,160,67,14,1 +20,240,3934,4393,85,1637,338,109,42,1 +20,163,3453,1963,68,1865,400,68,30,1 +20,303,1833,5753,37,903,442,243,6,1 +20,297,1614,6986,14,1202,327,91,23,1 +15,99,1131,7019,101,1490,124,302,54,1 +6,272,1898,4557,6,409,327,95,8,1 +20,178,4175,3693,85,541,297,338,23,0 +47,325,1426,4662,78,1689,58,218,51,1 +92,163,3020,5963,65,2299,234,68,30,1 +20,302,3579,1967,93,968,361,35,13,1 +47,73,427,1800,78,864,124,189,54,1 +20,178,7,1879,44,332,382,338,23,1 +20,203,1890,4690,44,209,231,42,30,1 +20,190,4113,700,85,671,177,1,8,1 +20,37,3879,4276,44,1499,0,286,53,1 +20,175,1862,4923,44,1737,371,310,56,1 +96,99,421,2229,23,2089,356,302,54,1 +20,178,1975,5872,68,541,381,338,23,1 +20,178,2365,3022,93,541,294,338,23,0 +20,150,2280,3571,37,479,283,183,6,1 +20,178,994,6816,44,541,202,338,23,1 +20,179,54,256,37,541,192,50,23,1 +44,73,1425,3009,108,1793,356,189,54,1 +20,179,2376,5763,74,541,256,50,23,1 +78,47,1315,4503,71,1550,149,284,42,1 +20,297,1930,6403,44,541,371,91,23,1 +20,312,1989,572,44,73,234,142,36,1 +20,179,3567,233,74,541,256,50,23,1 +62,99,3982,5173,49,170,124,302,54,1 +17,84,860,4052,122,2205,124,239,2,1 +20,179,3539,1922,37,1402,391,50,23,1 +20,178,7,4067,44,332,382,338,23,1 +20,282,3489,51,68,1172,362,245,49,1 +20,301,3250,1687,85,1612,223,320,49,1 +20,179,1866,975,74,541,256,50,23,1 +121,47,3586,2985,161,15,356,284,42,1 +20,179,1294,237,85,541,402,50,23,1 +20,10,3830,6599,85,2281,177,199,24,1 +122,282,3450,530,72,90,97,245,49,1 +20,179,187,1645,44,1402,382,50,23,1 +96,73,738,2375,97,2090,239,189,54,1 +20,178,2365,3815,93,541,294,338,23,0 +10,206,272,4915,36,501,364,287,64,1 +20,179,3291,1890,68,1309,362,50,23,1 +16,174,1139,2357,159,2070,149,169,54,0 +81,116,3619,1100,166,270,323,80,60,1 +20,179,3165,3193,37,541,393,50,23,1 +20,179,3647,417,85,541,177,50,23,1 +20,302,2997,5651,93,858,142,338,13,1 +20,172,3904,3208,37,162,35,200,51,1 +20,278,1631,3529,39,654,189,180,64,1 +122,71,3725,6872,72,1783,110,314,56,1 +90,83,2532,1573,119,384,258,290,64,1 +78,133,1351,2476,71,166,424,300,11,1 +20,154,3350,4092,44,799,371,215,38,1 +20,59,3238,956,37,644,370,214,12,1 +20,129,2660,411,44,1666,440,23,30,1 +20,179,2208,2099,13,1402,238,50,23,0 +20,178,3327,7068,13,541,344,338,23,1 +20,240,1863,4393,85,1781,328,109,42,1 +20,262,3454,119,63,1185,185,126,9,1 +20,297,648,1808,44,741,183,91,23,1 +74,99,1136,6793,45,1690,326,302,54,1 +80,13,2089,5568,38,1361,298,313,64,1 +20,179,2129,5226,93,541,314,50,23,1 +42,266,1043,11,103,2200,58,140,51,1 +20,277,1124,5480,13,394,350,52,23,1 +20,178,720,1009,13,541,75,338,23,1 +62,73,724,2311,49,121,124,189,54,1 +20,297,1496,3170,44,1202,371,91,23,1 +20,197,1066,482,44,2147,348,278,58,1 +20,105,1896,5427,68,2202,186,325,30,1 +20,100,953,6099,37,543,271,30,33,1 +20,204,4018,4032,68,2119,335,319,23,1 +20,86,2802,2947,44,941,146,219,0,1 +20,67,2306,3839,37,961,432,67,14,1 +20,163,3814,4824,68,1865,207,68,30,1 +20,297,3932,2709,14,1486,327,91,23,1 +56,47,2601,921,41,816,124,284,42,1 +20,178,3737,7263,13,1402,139,338,23,1 +119,36,2690,2019,168,1262,26,312,30,1 +20,179,2010,42,93,541,395,50,23,1 +20,297,633,6762,13,1202,278,91,23,1 +20,165,230,2669,44,2231,134,232,53,0 +20,255,2979,3401,14,799,41,267,38,1 +20,297,2664,3075,74,541,123,91,23,1 +81,20,56,3492,166,1608,323,141,60,1 +20,179,3028,5765,68,541,170,50,23,1 +20,178,1447,4565,44,541,6,338,23,1 +20,179,2289,2351,44,541,158,50,23,1 +86,266,3871,3622,147,146,58,140,51,1 +122,179,1788,1151,72,541,52,50,23,1 +20,302,643,1879,68,858,157,35,13,0 +20,179,3459,3774,37,1402,421,50,23,1 +20,179,1591,6298,13,541,256,50,23,1 +20,282,23,1949,13,90,350,245,49,1 +116,165,2681,5598,75,183,182,232,53,1 +20,204,864,613,14,979,367,319,23,1 +20,179,870,3999,44,541,57,50,23,1 +20,100,750,1963,68,235,4,30,33,1 +20,178,2341,6994,85,541,95,338,23,1 +20,179,2675,205,85,541,297,50,23,1 +84,73,655,5396,48,1793,170,189,54,1 +81,178,244,5683,166,541,344,338,23,1 +80,187,3379,5226,38,296,379,330,28,1 +20,297,2612,3208,93,2292,306,91,23,1 +20,282,2076,1625,37,1272,125,11,13,1 +20,240,2463,5226,37,762,118,109,42,1 +125,47,3455,6839,121,253,124,284,42,1 +20,179,2286,6162,44,541,82,50,23,1 +89,99,680,3009,33,2089,356,302,54,0 +103,83,2236,6904,162,384,54,290,64,1 +20,179,2502,5027,44,1402,371,50,23,1 +81,262,1636,1678,166,637,314,126,9,1 +20,43,3700,3084,44,1281,319,257,30,1 +20,215,3474,482,44,1706,231,44,30,1 +20,219,3936,2059,14,350,233,133,37,0 +20,173,2017,5628,68,1425,54,151,58,1 +20,100,1682,3667,93,235,297,30,33,0 +20,301,2732,1285,68,90,381,320,49,1 +20,178,2431,379,37,541,108,338,23,1 +20,64,3775,6816,68,1294,159,187,2,1 +20,178,2675,5384,85,541,297,338,23,1 +20,179,667,6094,44,1402,144,50,23,1 +20,178,2711,5770,37,541,421,338,23,1 +20,240,2932,5107,44,354,210,109,42,1 +20,105,586,1963,68,2202,197,325,30,1 +20,72,646,4670,93,1741,72,333,66,1 +20,178,1181,4574,44,541,285,338,23,1 +20,200,3350,6524,44,799,371,116,49,1 +20,306,3270,2863,37,313,118,41,58,1 +50,297,3203,5427,74,541,256,91,23,1 +122,71,3725,2393,167,90,75,314,56,1 +20,100,2922,154,85,235,338,30,33,1 +20,178,2010,7092,93,541,395,338,23,1 +20,297,1963,610,44,1433,371,91,23,1 +20,178,1087,530,13,190,75,338,23,1 +78,282,409,2680,71,1770,424,245,49,1 +20,178,3436,1022,93,541,294,338,23,0 +92,240,2400,2140,65,41,234,109,42,1 +11,278,828,4049,8,2288,298,180,64,1 +20,301,1066,2268,44,90,348,320,49,1 +116,165,2727,7071,75,1010,182,232,53,1 +20,5,1849,5732,119,509,361,48,40,1 +20,179,3334,4360,14,541,295,50,23,1 +20,52,2135,1482,68,572,8,294,13,1 +81,315,1127,5364,166,394,373,309,23,1 +20,215,2025,4485,44,2051,0,44,30,1 +125,73,2439,1380,170,1972,124,189,54,1 +20,240,2394,3191,85,354,363,109,42,1 +20,297,2209,3884,13,1243,366,91,23,1 +20,59,1629,3267,93,1400,77,214,12,0 +20,240,3065,6881,85,41,99,109,42,1 +20,178,3808,4206,85,541,177,338,23,1 +96,73,704,3768,23,177,170,189,54,1 +20,230,1653,6094,90,805,311,184,2,1 +81,178,574,1751,166,541,52,338,23,1 +20,69,2401,5226,13,1481,80,11,13,1 +108,240,2049,5695,123,789,124,109,42,1 +20,297,2480,5848,68,1751,8,91,23,1 +20,178,3268,51,68,541,208,338,23,1 +20,178,3186,6184,93,541,294,338,23,0 +20,178,2170,4352,93,541,435,338,23,0 +96,73,1244,4907,173,196,239,189,54,1 +20,140,3100,6940,74,531,361,49,30,1 +81,154,3219,3492,166,1164,323,215,38,1 +20,302,3935,832,85,1290,177,35,13,1 +20,172,2477,5226,90,1624,93,200,51,0 +20,178,1062,51,14,541,39,338,23,1 +81,311,3787,1495,166,1495,172,328,44,1 +20,178,2711,2272,37,1402,108,338,23,1 +20,179,3778,6853,93,541,30,50,23,1 +20,197,2146,530,93,814,76,278,58,1 +20,178,1275,7199,44,1384,36,338,23,1 +20,178,2837,1653,37,1402,192,338,23,1 +20,315,4096,6752,13,1715,238,309,23,1 +20,11,3703,5427,44,1769,440,131,0,1 +20,64,3175,1963,44,1294,159,187,2,1 +20,178,713,861,44,1384,382,338,23,1 +67,297,3866,2805,155,731,411,91,23,0 +83,99,2550,3583,56,1690,326,302,54,1 +20,178,813,6313,13,541,64,338,23,0 +20,94,2760,2239,85,60,150,76,56,1 +20,178,2010,68,93,541,395,338,23,1 +10,179,3829,1151,36,541,36,50,23,1 +20,105,2573,5224,68,2202,186,325,30,1 +81,179,416,3492,166,541,188,140,23,1 +20,197,2768,7202,44,1583,146,278,58,1 +81,297,2591,6636,166,1368,52,91,23,1 +20,178,4066,6541,93,1384,22,338,23,1 +20,297,3282,6308,68,541,158,91,23,1 +20,82,3018,4161,74,907,56,176,8,1 +103,150,793,5568,162,1590,55,183,6,1 +20,64,3175,4485,44,1294,159,187,2,1 +20,139,2317,908,13,637,350,271,9,1 +89,99,1372,949,33,2089,356,302,54,1 +100,47,93,2488,2,428,170,284,42,1 +20,179,116,5741,14,541,295,50,23,1 +20,178,3528,1261,37,1402,391,338,42,1 +89,99,1950,828,32,2089,356,302,54,1 +20,178,2842,956,44,541,381,338,23,1 +55,307,2656,5613,70,397,24,228,64,0 +20,215,3879,5226,68,858,0,44,30,1 +20,285,1246,4223,68,2065,183,55,36,1 +20,179,526,436,14,541,437,50,23,1 +20,179,3194,1668,14,541,327,50,23,1 +20,160,1332,2824,44,567,418,288,37,1 +20,79,4118,6113,74,1798,56,334,24,1 +20,297,2691,1339,14,1202,327,91,23,1 +126,41,3979,7192,91,1136,356,164,54,1 +20,58,746,404,85,1664,428,208,8,1 +60,297,2964,51,69,541,145,91,23,1 +20,301,654,1808,68,90,411,320,49,1 +49,47,1981,285,84,15,356,284,42,1 +20,64,4037,6354,68,1294,104,187,2,1 +81,277,2955,6357,166,394,52,52,23,1 +20,315,2687,3208,13,1773,346,309,23,1 +20,178,175,6950,85,541,177,338,23,1 +85,31,2515,1951,16,723,330,85,28,1 +20,11,2650,114,68,422,430,131,0,1 +20,297,316,3383,13,541,272,91,23,1 +20,84,3551,5009,68,1766,159,239,2,1 +122,178,279,6872,167,541,64,338,23,1 +107,2,3147,6207,98,423,396,74,55,1 +20,13,772,3922,39,654,302,313,64,1 +20,179,2837,508,37,1402,192,50,23,1 +20,300,2711,1246,37,1026,108,131,0,1 +103,217,2977,6308,136,1417,430,70,2,1 +126,99,1544,3856,91,1690,326,302,54,0 +20,178,2289,879,44,541,158,338,23,1 +20,267,2416,5385,68,926,33,12,36,1 +20,178,1373,2987,63,541,396,338,23,1 +20,297,492,5449,63,541,167,91,23,1 +20,179,2012,2645,68,541,183,50,23,1 +20,178,3909,572,68,541,335,338,23,1 +52,138,1299,2484,40,15,149,210,42,1 +110,252,2108,6284,120,1387,170,250,54,1 +20,163,1901,5226,44,1808,438,68,30,1 +55,187,1106,6094,70,1500,275,330,28,1 +20,190,1640,292,85,671,37,1,8,1 +20,178,3165,391,37,541,393,338,23,1 +122,195,2448,6872,72,1292,163,64,17,1 +20,179,1201,6094,13,1402,238,50,23,1 +126,174,2524,4162,91,1858,170,169,54,1 +107,203,3286,6052,98,1418,445,42,30,1 +20,7,3798,5279,37,1537,124,18,32,1 +50,47,1255,341,105,2173,356,284,42,1 +80,278,1423,7054,38,1316,298,180,64,1 +20,230,1756,5935,93,805,254,184,2,1 +20,297,2539,2239,85,541,428,91,23,1 +20,178,3107,2515,74,541,263,338,23,1 +20,178,2864,1666,37,541,421,338,23,1 +67,138,502,777,155,799,28,150,42,1 +73,279,3846,5732,60,1069,406,280,5,0 +20,178,2987,4845,93,541,12,338,23,1 +20,306,678,6094,68,1445,281,41,58,1 +20,178,2581,6068,37,541,421,338,23,1 +83,99,1364,472,56,1690,239,302,54,1 +20,297,1903,6789,68,541,158,91,23,1 +20,203,932,5732,44,1382,130,42,30,1 +20,138,748,5456,74,1270,49,150,42,1 +73,197,4179,5820,132,1713,125,278,58,1 +10,179,36,4005,36,586,192,50,23,1 +20,154,669,956,13,2101,238,215,38,1 +20,204,727,5889,14,1609,327,319,23,1 +20,178,2381,701,68,541,144,338,23,1 +20,178,3343,51,85,257,338,338,23,1 +20,301,1214,852,13,90,22,320,49,1 +121,73,1861,5224,27,137,239,189,54,1 +81,315,2955,6604,166,394,52,309,23,1 +107,165,173,6450,98,636,230,232,53,1 +20,263,2031,6308,93,355,378,171,30,1 +20,297,3290,861,44,541,381,91,23,1 +20,178,1405,1808,63,541,433,338,23,1 +20,178,1928,16,74,541,256,338,23,1 +20,204,2305,3249,13,979,75,319,23,1 +90,83,3881,5141,119,820,258,290,64,1 +20,154,119,6381,44,1473,220,215,38,1 +16,313,1212,5034,159,2049,124,178,44,1 +120,83,950,3565,124,384,298,290,64,1 +20,179,556,4506,85,541,322,50,23,1 +20,165,3308,4118,68,651,182,232,53,1 +20,301,3204,1808,68,90,311,320,49,1 +20,154,765,3342,68,2301,366,215,38,1 +122,178,1335,2926,72,541,97,338,23,1 +20,240,923,4005,37,1265,118,109,42,1 +103,95,3151,416,136,921,328,146,42,1 +20,297,2431,4223,37,2292,108,91,23,1 +7,138,3303,1343,96,2295,249,150,42,1 +20,178,3358,6480,14,541,327,338,23,1 +20,267,2803,5853,68,926,362,12,36,1 +20,178,2711,301,37,1402,108,338,23,1 +86,73,3772,7111,81,1056,239,189,54,0 +20,178,3101,2381,93,541,314,338,23,1 +20,89,2196,3189,74,1752,227,226,40,0 +49,99,816,6513,64,2089,239,302,54,1 +20,282,3357,823,13,1068,109,245,49,1 +20,219,2204,1622,37,1899,421,133,37,0 +20,132,2237,482,68,262,182,83,30,1 +20,274,773,6450,44,2202,416,264,30,1 +55,31,1564,875,70,1551,379,85,28,1 +80,187,874,2237,38,296,379,330,28,1 +60,282,540,1808,69,1401,322,245,49,1 +122,175,1035,530,167,6,337,310,56,1 +62,99,914,4740,49,1490,124,302,54,1 +20,179,697,5211,93,541,251,50,23,1 +20,297,4072,3942,14,1708,295,91,23,1 +20,178,3645,5761,63,541,84,338,23,1 +20,338,3516,5753,85,1618,19,248,47,1 +20,297,3073,5360,68,379,144,50,23,1 +20,179,2664,6397,74,1402,123,50,23,1 +73,197,2778,3208,132,90,360,278,58,1 +20,297,1108,3808,74,541,91,91,23,1 +20,173,3270,861,37,1583,125,151,58,1 +103,197,1400,828,136,1583,32,278,58,1 +20,240,1730,6567,44,1017,440,109,42,1 +20,79,355,4361,44,2281,144,334,24,1 +20,139,1572,2566,37,637,192,271,9,1 +116,276,3443,3355,75,236,101,8,2,1 +110,99,3229,3380,120,2089,239,302,54,1 +20,179,3071,3360,68,541,144,50,23,1 +20,179,2375,728,44,541,285,50,23,1 +20,78,3163,4730,74,1896,237,223,50,1 +20,297,2917,748,37,1202,393,91,23,1 +20,197,3156,482,68,1869,186,278,58,1 +103,179,33,2310,136,1550,430,50,23,1 +20,282,401,3206,37,1172,421,245,49,1 +20,178,460,51,68,541,381,338,23,1 +49,73,571,6513,84,1879,356,189,54,1 +20,253,3004,6115,90,1631,390,276,1,1 +62,99,815,617,49,1490,124,302,54,1 +20,297,681,51,14,1368,49,91,23,1 +20,230,392,4485,36,2205,215,338,2,1 +20,64,3175,6768,44,1294,159,187,2,1 +96,138,1756,2375,23,1456,243,302,42,1 +20,197,3310,1612,44,1583,146,278,58,1 +20,230,2057,5753,85,805,141,184,2,1 +20,179,2874,754,14,1309,327,50,23,1 +20,178,2468,956,44,541,382,338,23,1 +5,99,3479,2654,148,2089,14,302,54,1 +20,200,3296,2599,13,179,238,116,38,1 +20,240,1238,3129,74,1344,218,109,42,1 +20,236,3833,4501,93,1998,409,203,28,1 +81,179,1976,165,166,541,52,50,23,1 +125,99,2013,3768,121,1490,124,302,54,0 +67,297,3866,521,155,731,411,91,23,0 +107,321,2521,4724,98,1348,76,129,28,1 +20,170,2976,2891,44,1294,104,179,2,1 +20,212,1355,6469,74,187,35,202,51,0 +20,178,1464,5669,68,541,144,338,23,1 +20,178,397,5507,68,541,8,338,23,1 +20,297,224,4122,44,1402,220,91,23,1 +20,52,765,6961,68,541,366,338,23,1 +20,178,2528,4066,44,541,382,338,23,1 +20,178,1817,6552,63,541,264,338,23,1 +20,179,2567,4223,37,541,391,50,23,1 +20,178,2772,1858,68,541,144,338,23,1 +20,282,179,4505,14,1172,327,245,49,1 +20,315,922,6390,44,541,6,309,23,1 +20,306,898,6081,37,2247,118,41,58,1 +20,179,2206,3805,37,541,393,50,23,1 +20,154,1828,1054,74,1470,263,215,38,1 +20,240,2230,939,37,354,203,109,42,1 +20,170,1385,1872,85,1841,328,179,2,1 +20,150,2280,252,37,479,283,183,6,1 +20,179,1369,2639,13,541,251,50,23,1 +20,178,3936,4223,14,541,233,338,23,1 +103,150,793,5801,162,1590,55,183,6,1 +20,318,997,1307,93,617,22,94,60,1 +20,83,930,1943,39,820,189,290,64,1 +94,73,4054,2229,53,1879,356,189,54,1 +20,178,992,6617,68,541,281,338,23,1 +14,99,2885,1247,117,541,124,302,54,1 +20,302,524,601,44,1178,416,35,13,1 +20,302,2633,4223,44,1871,210,35,13,1 +20,179,1120,4308,44,541,220,50,23,1 +20,178,3987,7254,44,2055,382,338,23,1 +20,179,1810,5507,68,541,186,50,23,1 +103,278,237,6904,162,654,83,180,64,1 +20,178,3987,4223,44,2055,382,338,23,1 +20,297,2731,4198,44,541,57,91,23,1 +50,174,61,2682,156,841,356,169,54,1 +20,240,3050,51,37,2184,393,109,42,1 +20,179,3015,815,93,1402,22,50,23,1 +121,138,2053,181,27,318,336,150,42,1 +10,131,1822,2539,54,1931,156,329,25,1 +69,109,2721,4062,134,2158,298,154,64,1 +20,52,3509,1808,74,198,267,294,13,1 +20,178,3437,1859,14,541,295,338,23,1 +20,255,4014,1978,85,1002,328,267,38,1 +20,179,2277,6236,37,541,421,50,23,1 +20,16,3565,3206,37,1080,55,66,6,1 +81,10,1245,418,166,2281,188,199,24,1 +20,282,1273,5226,44,90,220,245,49,1 +20,240,2600,7119,68,1247,207,109,42,1 +20,267,2954,5385,63,314,84,12,36,1 +20,179,4133,5753,85,1402,435,50,23,1 +20,297,224,5224,44,1402,220,91,23,1 +20,178,1296,2974,44,541,371,338,23,1 +20,204,259,4878,63,2119,433,319,23,1 +20,178,3319,530,13,541,219,338,23,1 +20,78,3202,2468,74,1896,237,223,50,1 +20,139,1392,5312,13,637,350,271,9,1 +20,179,1817,6053,63,541,264,50,23,1 +20,190,1741,5519,85,409,297,1,8,1 +20,277,649,861,44,1996,371,52,23,1 +7,47,3419,5427,96,15,356,284,42,1 +113,310,564,5982,47,1697,364,258,60,1 +20,35,3464,998,90,156,190,307,51,1 +20,5,20,5753,85,2231,223,48,40,1 +20,297,2910,51,14,2236,5,91,23,1 +20,178,496,1680,63,541,167,338,23,1 +20,179,49,5494,44,541,144,50,23,1 +20,178,1458,861,44,541,303,338,23,1 +122,178,3254,6872,72,1745,344,338,6,1 +55,278,1707,6363,70,2232,436,180,64,1 +20,240,1376,482,44,41,146,109,42,1 +20,235,1572,1560,37,1388,192,229,9,1 +20,302,2633,953,44,1871,210,35,8,1 +16,109,728,4915,50,2187,298,154,64,1 +20,178,1513,3055,68,541,174,338,23,1 +20,240,898,4044,37,1781,118,109,42,1 +20,121,3908,1875,85,198,290,78,13,1 +116,208,491,5427,75,651,210,326,53,1 +20,64,4170,1978,44,709,159,187,2,1 +67,262,808,2078,155,637,144,126,9,1 +20,178,1934,3198,85,541,206,338,54,0 +20,301,1371,2312,85,90,363,320,49,1 +92,179,2943,5427,65,541,174,50,23,1 +115,187,924,2370,128,851,116,330,28,1 +20,121,300,5224,68,858,186,78,13,1 +40,278,3832,3529,17,299,298,180,64,1 +20,62,2189,1297,74,1408,49,295,23,1 +20,230,917,3650,85,943,328,184,2,1 +20,315,68,1567,68,541,366,309,23,1 +20,178,3850,6381,44,332,220,338,23,1 +103,113,3167,3615,136,235,109,123,52,1 +51,200,2241,2453,102,681,301,116,38,1 +20,179,2106,51,85,541,279,50,23,1 +116,310,564,6273,47,1697,364,258,60,1 +20,12,619,4393,74,921,49,21,42,1 +20,178,3024,6496,68,541,174,338,23,1 +20,278,1132,326,39,654,189,180,64,1 +20,179,1341,1808,68,1402,28,50,23,1 +20,178,2082,796,44,541,33,338,23,0 +20,281,4099,6384,44,1696,440,254,30,1 +20,200,2163,93,13,799,238,116,38,1 +96,47,833,5127,23,15,239,284,42,1 +96,257,704,2719,23,1742,170,124,54,1 +20,178,1948,541,14,541,295,338,23,1 +20,200,3350,6403,44,799,371,116,38,1 +20,178,652,1058,63,2105,429,338,23,1 +20,301,2842,482,44,90,360,320,49,1 +20,179,3518,4333,68,541,144,50,23,1 +20,302,3949,3384,74,1951,88,35,13,1 +20,178,3023,4634,37,541,393,338,23,1 +20,178,512,4456,13,541,71,338,23,1 +20,173,3310,1954,44,401,146,151,58,1 +67,95,744,2147,155,541,294,146,42,0 +10,178,540,6361,36,2055,299,338,23,1 +20,78,3163,6733,74,1896,237,223,50,1 +20,178,4018,1522,68,541,335,338,23,1 +20,318,2584,4223,37,395,296,94,60,1 +107,5,2629,5427,98,321,6,48,40,1 +20,297,2760,210,85,541,338,91,23,1 +20,200,2163,5324,13,2101,238,116,38,1 +30,174,539,1851,46,1490,124,169,54,1 +20,272,3424,5895,85,671,37,95,8,1 +20,179,3539,135,37,1402,391,50,23,1 +30,174,539,5368,46,1478,124,169,54,1 +20,334,953,3502,37,235,119,30,33,0 +31,138,1777,6691,140,2249,149,150,42,1 +43,13,3540,1474,142,26,54,313,64,1 +73,205,882,4645,60,997,412,263,13,1 +20,170,888,5732,90,174,226,179,2,1 +20,52,2135,7119,68,572,8,294,13,1 +116,165,1138,3021,75,2283,380,232,53,1 +20,300,2146,3566,93,702,76,227,28,1 +20,334,2792,2735,14,235,132,335,33,1 +113,178,442,2522,47,541,370,338,23,1 +20,178,2390,805,44,541,360,338,23,1 +78,133,1351,11,71,166,124,300,11,1 +20,34,979,6270,68,1383,157,251,49,1 +20,282,3894,1946,85,90,297,245,49,1 +44,311,2667,5501,108,2102,140,328,44,1 +20,178,284,5989,85,1402,394,338,23,1 +20,306,3270,4005,37,313,118,41,58,1 +17,314,42,2167,122,950,124,173,42,1 +20,179,3119,2555,14,1402,367,50,23,1 +20,52,1929,6450,37,57,79,294,13,1 +20,178,1762,969,93,1402,314,338,23,1 +20,302,70,530,93,858,251,35,13,1 +20,64,4170,3902,44,709,159,187,2,1 +20,297,3939,1514,85,1202,177,91,23,1 +20,89,3058,5427,93,371,142,226,40,1 +20,178,1294,51,85,541,287,338,23,1 +54,173,3841,1978,39,799,401,151,58,1 +20,22,2641,3010,74,2205,56,192,8,1 +17,99,3389,59,122,1490,124,302,54,1 +35,47,309,5686,138,15,149,284,42,1 +20,178,1083,2721,44,541,144,338,23,1 +20,10,43,1927,93,2281,142,199,24,1 +109,177,3481,1341,35,1758,148,77,44,1 +20,301,2829,5732,68,90,28,320,49,1 +4,179,1456,51,151,541,183,50,23,1 +20,163,1480,5749,68,1865,26,68,30,1 +81,179,1060,5865,166,541,57,50,23,1 +20,215,3879,7119,44,858,0,44,30,1 +20,297,2365,6797,93,1202,294,91,23,1 +103,179,859,5507,136,541,41,50,23,1 +103,125,3782,6297,162,1078,168,303,54,0 +20,240,2687,5385,13,1637,278,109,42,1 +20,334,3415,3619,74,916,49,335,33,1 +20,230,1417,1808,44,805,159,184,2,1 +78,47,1128,789,71,1550,149,284,42,1 +80,307,1250,5568,38,431,54,228,64,1 +20,334,2792,4457,14,235,132,335,33,1 +20,178,3987,4372,44,2055,382,338,23,1 +20,105,2377,5224,68,2202,186,325,30,1 +20,178,3186,6046,93,1402,294,338,23,0 +20,132,561,1015,68,1187,197,83,30,1 +20,170,4020,4061,90,1115,311,179,2,1 +20,179,3778,1408,93,541,30,50,23,1 +20,285,2021,4223,44,831,234,55,36,1 +20,178,710,956,37,1402,203,338,23,1 +20,179,2837,51,37,541,192,50,23,1 +96,47,3966,2375,97,15,356,284,42,1 +20,282,3914,6469,14,1172,46,245,49,0 +20,297,175,1608,85,2292,177,91,23,1 +73,213,2398,220,132,961,226,28,14,1 +103,165,2558,5226,68,2202,186,232,53,1 +20,230,2976,907,44,805,104,184,2,1 +55,83,1122,5492,70,1150,83,290,64,1 +20,321,2209,4481,68,2266,366,129,28,1 +20,178,1886,2447,85,541,338,338,23,1 +20,178,1928,6805,74,541,256,338,23,1 +20,297,1213,1627,63,1202,396,91,23,1 +91,0,1998,6201,130,671,177,24,11,1 +31,313,1013,746,140,1961,124,178,44,1 +20,297,1992,3397,68,741,152,91,23,1 +20,179,1029,6731,68,541,445,50,23,1 +20,137,2876,80,44,2141,58,241,51,1 +20,240,3833,638,93,2205,251,109,42,1 +17,73,2043,5368,122,1972,124,189,54,1 +30,99,2483,1380,46,1490,124,302,54,1 +20,178,4116,2103,37,1402,108,338,23,1 +20,230,1672,1206,68,805,159,184,2,1 +48,313,2382,2010,107,2121,148,178,44,1 +20,178,703,3688,63,541,433,338,23,1 +62,73,825,3621,49,1613,124,189,54,1 +20,178,994,482,44,541,202,338,23,1 +43,13,1278,5040,142,654,298,313,64,0 +83,73,1059,2488,56,1972,356,189,54,1 +20,302,2771,1747,44,34,403,35,13,1 +20,300,424,7142,37,90,275,227,28,1 +20,179,2173,1149,13,541,238,50,23,1 +20,179,1421,6795,37,541,391,50,23,1 +20,10,2587,5427,68,1791,183,199,24,1 +96,99,1045,3809,23,2089,356,302,54,1 +20,245,672,6469,74,1943,133,283,51,1 +78,224,805,4285,71,1229,93,234,42,1 +88,47,2406,4986,100,15,14,284,42,1 +20,179,3778,1403,93,541,30,50,23,1 +107,165,173,5226,98,636,230,232,53,1 +20,274,178,1978,44,2202,403,264,30,1 +20,100,1682,2106,93,235,297,30,33,0 +119,205,3513,3873,168,890,423,263,30,0 +20,179,1904,51,37,541,304,50,23,1 +120,83,4053,3565,124,384,298,290,64,1 +107,37,1154,5448,98,55,134,286,53,1 +120,13,3043,1968,124,449,54,313,64,1 +20,179,3437,2764,14,541,295,50,23,1 +78,282,409,7156,71,35,424,245,49,1 +55,187,3406,2311,70,1669,379,330,28,1 +96,99,3176,2730,97,2089,356,302,54,1 +20,69,3525,3814,68,1031,411,11,13,1 +20,203,1890,5427,44,209,231,42,30,1 +20,179,3515,7164,93,541,385,50,23,1 +20,236,3320,3639,93,1998,409,203,28,1 +20,178,3850,6121,44,1402,220,338,23,1 +20,297,2789,4765,68,541,360,91,23,1 +20,170,888,5224,90,174,226,179,2,1 +20,100,3010,2033,68,2281,186,30,33,1 +20,179,2528,3680,44,1402,382,50,23,1 +56,99,3991,4144,41,1167,124,302,54,1 +20,179,3214,1949,13,23,80,50,23,1 +81,20,3900,883,166,1608,143,312,60,1 +28,178,782,1492,104,541,117,338,23,1 +20,179,3165,5610,37,541,393,50,23,1 +20,240,256,6055,68,382,362,109,42,1 +109,138,575,2010,35,2116,148,150,42,1 +20,262,2801,482,44,637,144,126,9,1 +20,302,524,6816,44,1178,416,35,13,1 +43,83,2194,5427,142,384,298,290,64,1 +20,178,720,51,13,190,75,338,23,1 +20,240,466,5305,74,354,263,109,42,1 +10,197,2361,863,36,7,360,278,58,1 +10,32,1958,6690,66,15,149,210,42,1 +20,34,4080,6909,13,2174,75,251,49,1 +20,163,2897,4276,44,255,210,68,30,0 +20,301,2732,5427,68,90,381,320,49,1 +20,154,1029,835,68,660,445,215,38,0 +122,94,2403,3785,167,843,64,76,56,1 +20,139,3103,5480,13,1760,350,271,9,1 +20,301,138,6094,63,90,433,320,49,1 +20,143,689,5917,85,245,287,84,60,1 +20,165,1055,3378,44,651,0,232,53,1 +116,208,4088,6450,75,1122,195,326,53,1 +43,13,1428,5568,142,449,54,313,64,0 +20,231,2109,3463,93,276,251,51,10,1 +20,100,750,4502,68,235,174,30,33,1 +20,275,3768,6469,85,961,206,43,14,0 +20,43,3700,540,44,1281,319,257,30,1 +20,52,1430,860,68,198,207,294,13,1 +20,179,3028,7075,68,541,157,50,23,1 +42,73,1646,156,103,2159,170,189,54,1 +20,32,2557,4317,37,1956,358,278,58,0 +81,154,1636,3192,166,1164,238,215,38,1 +20,182,4118,4244,74,21,56,238,33,1 +20,236,2038,6094,68,1998,257,203,28,1 +56,99,3876,6553,41,816,124,302,54,1 +24,247,1818,59,52,2289,149,31,21,1 +20,179,2073,7144,74,541,329,50,23,1 +20,178,1492,2926,74,541,263,338,23,1 +78,73,3162,5813,71,1879,149,189,54,1 +20,137,2015,7186,63,1520,58,241,51,1 +10,133,2279,1177,54,1494,124,300,11,1 +20,203,2025,4276,44,390,0,42,30,1 +20,301,2151,3567,85,90,297,320,49,1 +56,99,925,6553,41,816,124,302,54,0 +20,208,3474,3244,44,651,231,326,53,1 +126,301,3323,6696,91,846,310,320,49,1 +20,190,2683,5840,85,671,293,1,8,1 +20,178,1798,7164,93,541,131,338,23,1 +20,297,526,5210,14,1368,340,91,23,1 +81,262,2961,119,166,637,373,126,9,1 +88,240,1753,614,100,1342,176,109,42,1 +56,99,1457,2229,41,816,124,302,54,1 +20,100,953,2941,37,543,271,30,33,1 +73,163,1505,1978,60,1865,425,68,30,1 +20,178,1987,51,37,541,192,338,23,1 +20,178,3515,5753,93,1384,385,338,23,1 +31,207,1242,5918,140,1494,424,272,49,1 +20,303,3565,3010,37,1190,442,243,6,1 +67,179,1979,5507,155,541,202,50,23,1 +20,16,2253,1430,37,1080,55,66,6,1 +20,288,3934,1643,85,541,338,282,55,1 +20,315,922,5732,44,541,6,309,23,1 +80,13,2150,1172,38,1016,54,313,64,1 +20,178,4000,2555,85,541,177,338,23,1 +20,297,1314,3933,14,541,39,91,23,1 +20,179,1421,1560,37,1402,391,50,23,1 +62,73,4120,4858,49,512,124,189,54,1 +20,178,1302,861,14,1402,41,338,23,1 +20,178,2622,7083,74,541,123,338,23,1 +20,178,175,2555,85,541,177,338,23,1 +20,178,2960,956,37,541,393,338,23,1 +50,174,3857,2682,156,864,356,169,54,1 +20,64,4037,5746,68,1294,104,187,2,1 +20,178,1562,51,37,541,393,338,23,1 +78,292,754,3303,71,844,424,221,15,1 +103,313,3787,7163,136,904,172,178,44,1 +20,194,1725,5826,44,1829,6,13,24,1 +67,179,371,3824,155,1264,18,50,23,1 +20,301,66,2123,44,90,382,320,49,0 +78,174,369,3221,71,1690,149,169,54,1 +20,179,2107,956,14,541,327,50,23,1 +20,179,500,51,44,541,418,50,23,1 +20,197,1637,4190,13,1583,109,278,58,1 +20,179,3780,6733,74,541,237,50,23,1 +42,73,1646,2396,103,2159,170,189,54,1 +20,205,2746,3902,44,1635,94,263,30,1 +35,32,887,3768,138,1690,149,210,42,1 +20,203,1276,482,44,574,416,42,30,1 +20,170,573,1879,44,1115,104,179,2,1 +20,293,1951,6042,13,1897,80,14,30,1 +81,331,3376,1689,166,812,345,299,22,1 +20,178,3450,2612,14,541,367,338,23,1 +20,107,3404,295,90,378,221,323,31,1 +122,277,393,530,167,541,75,52,23,1 +20,105,586,482,68,2202,197,325,30,1 +45,224,125,2849,19,1229,149,234,42,1 +20,179,473,352,44,541,418,83,23,1 +9,261,19,6839,10,15,149,210,42,1 +20,179,813,4804,13,541,238,50,23,1 +20,282,837,8,85,1172,177,245,49,1 +116,43,775,3583,75,959,380,257,30,1 +20,190,649,793,44,434,371,1,8,1 +20,178,3390,745,85,541,87,338,23,1 +20,52,2633,5226,44,386,210,294,13,1 +107,165,1301,997,98,1209,414,232,53,1 +10,32,326,5686,66,15,149,210,42,1 +20,179,500,6224,44,2055,371,50,23,1 +20,160,2386,51,74,567,56,288,37,1 +20,179,1117,5061,68,541,207,50,23,1 +20,203,84,79,68,390,1,42,30,1 +20,179,941,5099,37,541,393,50,23,1 +20,86,3703,1103,44,941,440,219,0,1 +56,99,4015,6553,41,15,124,302,54,1 +33,195,1712,530,82,192,163,64,17,1 +20,132,3700,3902,44,1259,319,83,30,1 +20,303,1583,412,37,1911,55,243,6,1 +20,107,3942,1650,90,1385,221,323,31,1 +122,302,1951,4829,72,980,373,35,13,1 +122,315,2617,1469,167,511,291,309,23,1 +81,135,1245,4135,166,2281,188,252,24,1 +55,187,1106,875,70,1500,275,330,28,1 +20,297,910,1567,63,2292,126,91,23,0 +16,174,464,2357,159,841,149,169,54,1 +20,302,3461,1855,14,198,295,35,12,1 +23,47,2233,4812,157,15,239,284,42,0 +20,240,3403,3208,37,382,391,109,42,1 +20,215,2750,5224,68,355,182,44,30,1 +20,297,494,3514,85,741,177,91,23,1 +78,133,466,4285,71,1226,424,300,11,1 +20,178,526,4769,14,541,340,338,23,1 +20,86,1331,339,68,941,381,219,0,1 +20,154,2145,5576,74,799,263,215,38,1 +20,59,3225,6998,68,2091,181,214,12,1 +20,182,4118,2578,74,21,56,238,33,1 +20,179,1922,646,68,541,360,50,23,1 +20,178,3252,6662,13,190,75,338,23,1 +20,22,2641,2800,74,2205,56,192,8,1 +20,178,3528,442,37,541,391,338,23,1 +20,219,3350,2535,44,567,371,133,37,1 +20,215,938,1808,44,858,0,44,30,1 +20,178,316,4877,93,541,272,338,23,1 +72,335,3475,7172,143,1219,146,311,14,1 +20,272,1093,2588,74,671,56,95,8,1 +103,83,1910,4845,162,384,83,290,64,1 +20,203,2927,6094,44,975,231,42,30,1 +4,178,3838,5000,151,808,294,338,23,1 +62,99,3982,7077,49,170,124,302,54,1 +55,278,1150,2234,70,1297,266,180,64,0 +20,240,430,3703,93,354,150,109,42,1 +20,79,2582,1808,68,1002,360,334,24,1 +20,281,4099,4765,44,1856,440,254,30,1 +20,178,1904,51,37,541,304,338,23,1 +20,178,4151,4223,68,541,386,338,23,1 +20,64,3775,5940,68,1115,159,187,2,1 +20,178,2381,6631,68,1402,144,338,23,1 +20,175,1862,550,44,1737,371,310,56,1 +20,139,3103,6522,13,1760,350,271,9,1 +88,47,149,2413,100,15,356,284,42,1 +20,240,800,4684,85,354,363,109,42,1 +96,138,3132,4986,23,1066,243,150,42,1 +20,200,2917,4223,37,799,393,116,38,1 +20,178,710,2204,37,1402,203,338,23,1 +20,262,3454,1930,63,637,185,126,9,1 +20,178,4125,4089,44,541,382,338,23,1 +20,178,2864,1467,37,541,421,338,23,1 +20,173,3310,100,44,401,146,151,58,1 +81,262,2915,2327,166,637,238,126,9,1 +20,179,2837,3501,37,541,192,50,23,1 +20,300,4105,5226,37,955,275,227,28,1 +20,297,2970,4779,44,2055,381,91,23,1 +81,179,1533,530,166,541,52,50,23,1 +78,47,1128,5923,71,1550,149,284,42,1 +32,47,130,2484,99,15,149,284,42,1 +20,297,460,2494,68,2292,381,91,23,1 +81,262,3298,1403,166,637,52,126,9,1 +20,276,582,3355,85,218,430,8,2,1 +126,102,3969,964,91,144,58,160,51,1 +20,297,3645,51,63,541,84,91,23,1 +20,277,1843,1367,85,2216,410,52,23,1 +89,76,449,1424,5,1743,170,108,21,1 +120,83,1716,4533,124,384,298,290,64,1 +20,306,678,2739,68,1445,281,41,58,1 +20,178,1296,3074,44,541,371,338,23,1 +20,297,1884,1151,13,741,71,91,23,1 +20,178,1060,3626,44,541,57,338,23,1 +96,73,704,1799,97,177,170,189,54,1 +20,100,17,6049,68,1674,351,30,33,1 +119,163,2690,6789,168,1710,26,68,30,1 +17,99,2298,5368,122,1690,124,302,54,1 +20,297,197,63,85,541,287,91,23,1 +20,43,1346,5427,68,1281,197,257,30,1 +20,178,3647,5885,85,541,177,338,23,1 +20,219,3350,2535,44,607,381,133,37,1 +20,121,300,6094,68,858,186,78,13,1 +110,99,3098,3768,120,2089,239,302,54,1 +98,282,3890,1123,130,90,177,245,49,1 +20,297,197,101,85,541,287,91,23,1 +47,73,1088,3768,78,864,124,189,54,1 +20,282,3283,5427,93,1172,345,245,49,1 +20,179,2106,6858,13,541,279,50,23,1 +20,254,3763,3351,44,574,357,38,30,1 +20,277,2208,2433,13,2216,100,52,23,1 +20,178,2917,5321,37,541,393,338,23,1 +103,276,4091,1397,136,212,328,8,2,1 +20,277,1678,7119,37,541,393,52,23,0 +20,300,2146,482,93,702,78,227,28,1 +87,177,752,3208,79,2121,148,77,44,1 +71,179,2585,6871,110,23,270,50,23,1 +81,179,3179,5474,166,541,52,50,23,1 +20,93,3091,5128,74,1496,237,273,50,1 +20,187,120,3567,85,851,116,330,28,1 +20,178,7,6094,44,332,382,338,23,1 +20,154,3350,3583,68,799,371,215,38,1 +20,78,3163,908,13,2278,237,223,50,1 +20,178,363,4802,44,498,105,338,23,1 +20,89,2956,5724,85,1802,223,226,40,1 +20,263,851,1963,93,2091,22,171,30,1 +17,99,1079,5368,122,1490,124,302,54,1 +56,99,4047,921,41,816,124,302,54,1 +122,67,3326,6469,167,961,75,67,14,0 +72,335,3475,2229,143,1219,146,311,14,1 +20,240,2175,4393,44,1247,210,109,42,1 +20,179,2638,1073,37,541,393,50,23,1 +20,263,3818,5406,74,1260,361,171,30,1 +81,315,2425,530,166,394,52,309,23,1 +20,154,1898,5226,14,799,327,215,38,1 +20,244,3065,4776,85,1758,99,285,8,1 +20,228,3768,6612,85,899,229,37,23,1 +6,221,2903,4216,6,2219,99,231,8,1 +10,177,137,3818,36,280,296,77,44,1 +20,178,2837,3583,37,541,192,338,23,1 +32,47,1427,6898,99,15,149,284,42,1 +28,178,2503,119,104,541,117,338,23,1 +20,173,1567,4333,68,1096,362,151,58,1 +20,208,2224,4503,44,651,43,326,53,1 +20,178,66,428,44,541,382,338,23,1 +89,47,303,5561,5,15,356,284,42,1 +20,178,4184,6635,44,541,6,338,23,1 +20,178,28,4611,85,490,322,338,23,1 +20,301,2182,1471,68,90,154,320,49,0 +20,178,3567,4407,74,541,256,338,23,1 +20,300,2537,3492,93,1998,76,227,28,1 +20,179,2191,4190,93,541,395,50,23,1 +20,178,2829,2570,68,1402,28,338,23,1 +20,132,1251,1482,44,266,211,83,30,1 +20,178,2612,3443,93,541,306,338,23,1 +20,282,3126,956,68,1172,411,245,49,1 +20,82,961,2912,85,907,293,176,8,1 +122,297,659,2393,167,1243,75,91,23,1 +20,179,232,1560,37,541,192,50,23,1 +20,241,3768,1123,85,1441,206,306,62,1 +20,198,2573,5732,68,291,182,9,30,1 +20,230,1811,5037,85,805,430,184,2,1 +20,301,3563,3836,37,90,267,320,49,1 +119,33,311,1967,168,1701,186,336,13,1 +83,99,160,472,56,1690,356,302,54,1 +20,178,710,569,37,1402,203,338,23,1 +90,258,3881,5568,119,654,298,177,32,1 +20,100,2792,4237,14,235,132,30,33,1 +20,100,953,482,37,543,393,30,33,1 +64,179,386,5352,62,541,367,50,23,1 +20,215,1346,7212,68,355,230,44,30,1 +94,99,3992,5150,53,2089,239,302,54,0 +20,52,1398,4223,68,198,186,294,13,1 +20,240,3454,1151,63,354,185,109,42,1 +20,297,1283,4611,85,1402,177,91,23,1 +20,249,2608,4611,85,1853,428,193,37,1 +20,86,2732,1080,68,422,360,219,0,1 +28,178,3713,1808,104,541,117,338,23,1 +20,204,511,1367,85,979,410,319,23,1 +83,174,270,7227,56,1690,356,169,54,1 +20,2,4106,1808,63,1775,262,74,55,1 +91,178,1529,4898,130,541,177,338,23,1 +51,223,2243,4225,102,1371,19,17,26,1 +107,203,1114,5406,98,1843,182,42,30,1 +20,178,3737,4651,13,1402,139,211,23,1 +81,20,3900,2876,166,1832,143,141,64,1 +20,240,2021,4223,44,354,234,109,42,1 +20,178,3883,2562,63,541,126,338,23,1 +20,240,1803,7056,44,1247,285,109,42,1 +20,154,3296,2834,13,1164,358,215,38,1 +20,178,1464,6033,68,1402,144,338,23,1 +20,163,84,5226,68,1865,1,68,30,1 +20,274,2337,3867,68,2202,445,264,30,1 +20,179,116,2845,14,541,295,50,23,1 +20,203,2706,5732,68,355,186,42,30,1 +20,163,2766,2334,44,1865,403,68,30,1 +20,230,3864,1963,13,805,254,184,2,1 +20,301,731,1808,63,90,429,320,49,1 +20,178,1060,7256,44,541,57,338,23,1 +20,179,2289,3253,44,541,158,50,23,1 +89,138,687,3092,5,1814,289,150,42,1 +20,178,1939,5507,68,541,335,338,23,1 +20,179,1741,3638,85,541,297,50,23,1 +20,132,1251,5224,44,266,211,83,30,1 +20,178,2353,5093,68,1384,200,338,23,1 +20,178,3191,4886,44,541,82,338,23,1 +20,301,3773,3568,37,90,393,320,49,1 +20,297,3855,6706,44,541,303,91,23,1 +20,139,2687,6982,13,637,346,271,23,1 +20,179,2668,6863,44,541,158,50,23,1 +20,2,4073,6819,63,423,396,74,55,1 +20,106,1003,1588,37,326,330,256,32,1 +60,178,2086,189,69,541,355,338,23,1 +20,316,592,1808,44,1757,353,119,36,1 +20,33,2633,7119,44,1203,210,336,13,1 +67,38,3524,6895,3,220,264,22,57,1 +20,52,450,1137,93,522,131,294,13,1 +20,240,1287,5930,44,198,357,109,42,1 +20,173,2906,2229,44,313,259,151,58,1 +20,240,1863,3755,85,1781,328,109,42,1 +31,0,1242,4249,140,1494,424,24,11,1 +81,190,3787,1774,166,409,172,1,8,1 +20,99,1319,2291,93,541,385,338,23,1 +20,154,3350,5102,44,799,371,215,38,1 +20,302,3879,6478,44,1557,0,35,13,1 +81,116,3865,1100,166,2031,323,80,60,1 +55,261,4094,7140,70,1810,436,10,65,1 +125,99,2753,51,170,1490,124,302,54,1 +20,69,401,2957,37,79,421,11,13,1 +20,140,2249,956,93,1984,268,49,30,0 +20,179,386,1115,74,541,367,50,23,0 +20,179,2973,2611,93,541,12,50,23,1 +20,178,1934,51,13,541,206,338,23,1 +122,306,3190,6307,72,1448,337,41,58,1 +20,244,3954,4981,85,1758,99,285,8,1 +20,301,2182,346,68,90,154,320,49,0 +0,138,1489,1887,67,2050,124,150,42,1 +20,203,1346,3428,68,1178,186,42,30,1 +20,59,3585,1941,63,2168,420,214,12,1 +20,121,70,6490,93,198,251,78,13,1 +81,331,3037,1100,166,311,323,299,22,1 +28,178,432,1492,104,541,117,338,23,1 +19,47,389,4958,9,651,14,284,42,1 +20,204,2088,3795,85,979,428,319,23,1 +89,138,4087,5458,32,1707,289,150,42,1 +20,303,1750,1560,37,1190,442,243,6,1 +20,2,4106,482,63,1381,396,74,55,1 +20,178,1319,119,93,1384,385,338,23,1 +6,200,2608,6128,6,1785,428,116,38,0 +20,179,498,4023,14,541,295,50,23,1 +20,278,1020,6904,39,654,189,180,64,1 +20,179,1883,6227,85,541,368,50,23,1 +86,99,2552,1969,147,2089,239,302,54,1 +126,47,2278,5549,91,15,326,284,28,1 +56,47,4015,921,41,816,124,284,42,1 +20,302,2506,5309,74,980,361,35,13,1 +20,302,3506,814,74,198,227,35,13,1 +20,230,38,1224,44,805,159,184,2,1 +20,230,1417,1752,44,805,159,184,2,1 +27,138,1749,59,57,1066,399,150,42,1 +20,154,3350,4241,44,799,360,215,38,1 +125,73,3272,6393,170,1972,124,189,54,1 +20,301,3250,1123,85,1353,223,320,49,1 +20,179,633,119,13,2055,346,50,23,1 +94,102,4085,509,53,33,58,160,51,1 +116,276,1795,6927,75,236,101,8,2,1 +20,274,586,6316,68,1074,186,264,30,0 +20,178,3987,2548,44,2055,382,338,23,1 +20,179,2208,6714,13,1402,238,50,23,0 +20,86,1588,51,44,1490,158,219,0,1 +20,313,620,580,14,2102,172,178,44,1 +20,58,1556,584,74,1598,162,208,8,1 +122,175,2113,530,167,758,100,310,56,1 +20,154,3350,1798,44,799,371,215,38,1 +122,282,1133,119,72,1172,373,245,49,1 +20,170,113,3451,85,1130,441,179,2,1 +20,219,652,2417,63,199,429,133,37,1 +20,178,1188,5105,93,541,428,338,23,1 +20,317,1687,6697,90,1446,390,148,23,1 +20,100,1408,2141,37,235,108,30,33,1 +20,204,1065,6542,63,1609,126,319,23,1 +20,179,4018,51,68,541,335,50,23,1 +81,97,3376,2542,166,2074,323,209,22,1 +20,302,3874,6816,44,858,438,35,13,1 +122,297,2617,1151,167,1243,291,91,23,1 +43,278,3540,375,142,817,54,180,64,1 +60,178,1821,4236,69,541,145,338,23,0 +20,179,492,5449,63,541,167,50,23,1 +20,240,2820,2866,85,354,103,109,42,1 +20,140,3715,2855,13,2091,361,49,30,1 +20,288,4065,2562,63,1229,126,282,55,1 +20,197,2730,1897,68,669,364,278,58,1 +20,178,3778,3229,93,541,30,338,23,0 +20,272,1283,6128,85,671,177,95,8,0 +92,203,2775,482,65,935,234,42,30,1 +20,179,1615,3676,63,541,126,50,23,1 +20,178,939,5637,14,541,41,338,23,1 +122,302,1953,530,167,622,64,35,13,1 +20,297,2528,914,44,741,382,91,23,1 +20,178,3529,1664,68,541,210,338,23,1 +83,73,2311,3768,56,1478,326,189,54,0 +55,278,981,1474,70,2131,83,180,64,1 +20,154,669,5125,13,2101,238,215,38,1 +81,178,4089,1740,166,541,52,338,23,1 +20,178,2558,531,68,1402,186,338,23,1 +78,282,409,5104,71,35,424,245,49,1 +20,178,180,627,68,1402,8,338,23,1 +20,231,1371,3592,85,2205,363,51,10,1 +20,238,1236,7152,68,2202,230,103,30,1 +20,235,501,3208,13,1137,75,229,9,1 +79,170,1121,3754,92,497,159,179,2,1 +20,179,341,4548,37,541,393,50,23,1 +91,278,2791,1905,130,325,83,180,64,0 +20,178,3561,72,44,541,23,338,23,1 +20,215,3494,764,44,1975,231,44,30,1 +20,100,3497,3208,68,116,366,30,33,1 +20,179,28,2555,85,2055,322,50,23,1 +20,132,1039,5732,44,775,210,83,30,1 +20,204,1465,4223,74,599,123,319,23,1 +20,178,4184,4160,44,541,6,338,23,0 +20,282,1451,51,85,90,99,245,49,1 +95,47,3614,5357,7,2089,239,284,42,1 +20,211,595,7009,85,761,328,235,2,1 +20,200,3296,1508,13,179,238,116,58,1 +20,173,664,5427,44,1583,440,151,58,1 +103,179,3038,3208,136,1264,371,50,23,1 +20,179,1060,5471,44,541,57,50,23,1 +20,69,2076,576,37,1272,125,11,13,1 +20,179,3107,4459,74,541,263,50,23,1 +55,187,1826,4091,70,986,330,330,28,1 +20,178,2668,5244,68,541,158,338,23,1 +98,179,1529,1123,130,541,177,50,23,1 +20,179,2480,4376,68,541,8,50,23,1 +83,73,160,1380,56,1972,356,189,54,1 +20,163,1480,4588,68,1865,26,68,30,1 +121,138,2053,2985,161,246,336,150,42,1 +20,178,3450,7195,14,541,367,338,23,1 +20,84,3681,5988,44,1766,104,239,2,1 +4,179,2098,6274,151,541,294,50,23,0 +20,179,2890,1504,44,541,36,50,23,1 +20,86,2802,5382,44,941,146,219,0,1 +20,324,3091,719,74,1496,237,145,50,1 +20,204,727,4134,14,2119,327,319,23,1 +20,205,2746,5382,44,1635,94,263,30,1 +20,340,2313,2623,14,2045,65,159,62,1 +20,178,1060,4724,44,541,57,338,23,1 +20,178,3501,3815,37,1384,304,338,23,1 +20,84,582,5427,85,906,430,239,2,1 +20,262,977,321,68,637,144,126,9,1 +89,138,2978,5561,33,2276,289,150,42,1 +20,170,188,2232,90,537,311,179,2,1 +118,47,367,1632,171,15,170,284,42,1 +10,213,2068,3581,66,1764,146,28,14,1 +103,179,3534,4926,136,1264,371,50,23,1 +20,178,2752,4225,85,541,297,338,23,1 +83,73,1059,6761,56,1972,356,189,54,1 +92,203,1439,5749,65,385,234,42,30,1 +20,178,1369,4839,93,541,251,338,23,1 +20,170,1535,1988,90,1374,311,179,2,1 +90,271,404,2758,163,654,277,186,32,1 +20,143,2593,6094,85,1090,287,84,60,1 +20,230,3264,1879,44,1766,104,184,2,1 +20,197,2146,1156,93,1295,78,278,58,1 +20,138,3209,5746,68,354,333,150,42,1 +63,163,2866,2019,30,90,107,68,30,1 +20,282,855,751,37,2217,330,245,49,1 +20,179,3497,7164,68,1402,366,50,23,1 +20,179,1562,6422,37,541,393,50,23,1 +91,13,3927,2639,130,1182,405,313,64,1 +74,73,1099,4996,45,1533,170,189,54,1 +20,178,4030,5180,63,1384,429,338,23,1 +4,309,3138,1743,151,1371,294,79,26,1 +20,297,556,802,85,983,322,91,23,1 +116,165,2727,1285,75,1010,182,232,53,1 +20,178,3186,6816,93,1402,294,338,23,0 +29,83,1667,2428,129,659,298,290,64,1 +20,179,759,3208,85,541,229,50,23,1 +20,241,2473,4843,85,31,2,306,62,1 +20,211,3492,3716,85,1315,224,235,2,1 +125,84,2564,5224,90,8,311,239,2,1 +20,160,381,5481,14,567,132,288,37,1 +10,12,4149,5427,95,970,414,21,42,1 +78,174,2034,4285,71,1690,149,169,54,1 +67,178,2474,4348,3,541,355,338,23,1 +10,179,3963,5160,36,586,23,50,23,1 +20,83,2938,5088,39,384,189,290,64,1 +103,154,207,5482,136,799,45,215,38,1 +122,297,2172,530,72,459,328,91,23,1 +81,178,4117,3414,166,541,52,338,23,1 +20,295,3249,6697,90,2114,390,206,1,1 +20,197,2363,7119,68,2137,381,278,58,0 +20,178,4065,6480,63,541,126,338,23,1 +7,73,935,2229,109,2302,170,189,54,1 +20,178,3497,2926,68,541,366,338,23,1 +20,204,2428,5568,37,1609,192,319,23,1 +20,100,3967,3909,14,235,437,30,33,1 +20,302,1834,4005,37,2267,125,35,13,1 +20,204,3462,3208,63,1206,264,319,23,1 +20,100,2004,6094,85,2281,99,30,33,1 +0,73,3114,3801,67,864,326,189,54,1 +103,139,1347,5172,136,637,343,271,9,1 +20,150,1833,2454,37,1190,442,183,6,1 +20,262,3454,119,63,637,185,126,9,1 +90,83,1291,5753,163,384,258,290,64,1 +20,302,3579,5732,13,968,361,35,13,1 +20,277,3561,72,44,394,23,52,23,1 +50,174,61,3768,156,132,356,169,54,1 +98,163,2631,1978,39,1865,425,68,30,1 +20,282,3935,5822,85,198,368,245,49,1 +20,211,121,2426,85,819,328,235,2,1 +20,178,3687,2617,44,1402,144,338,23,1 +88,76,2605,2413,100,336,170,108,21,1 +20,282,1451,3895,85,90,99,245,49,1 +63,156,2859,7071,30,1690,210,324,30,1 +90,261,362,4939,163,178,275,10,65,1 +113,52,3339,5725,47,2231,6,294,23,1 +20,170,189,3639,93,1294,254,179,2,1 +10,32,2621,6690,66,1690,149,210,42,1 +116,3,2656,6442,70,51,24,147,42,1 +20,178,2208,1692,13,541,238,338,23,1 +53,220,3274,5226,127,1850,205,220,5,1 +103,178,1078,51,136,541,407,338,23,1 +43,109,2804,7125,142,1288,298,154,64,1 +7,73,2471,2229,96,1782,170,189,54,1 +20,178,54,6469,13,541,278,338,23,0 +20,179,2205,3208,37,541,393,50,23,1 +20,282,179,6362,14,1172,327,245,49,1 +115,200,2742,673,128,521,301,116,38,1 +20,240,3904,4393,37,382,35,109,42,1 +20,302,3618,2580,44,592,134,35,13,0 +122,178,3254,5192,72,1745,344,338,23,1 +20,204,3686,51,37,979,192,319,23,1 +20,86,4048,5768,44,941,146,219,0,1 +20,179,2668,4037,44,541,158,50,23,1 +44,266,1391,2510,108,18,58,140,23,1 +20,59,3798,5226,37,234,330,214,12,1 +20,160,1828,2059,74,567,49,288,37,1 +20,51,596,828,85,1053,441,260,2,1 +20,165,3001,6094,44,651,210,232,53,1 +80,83,1423,4032,38,384,298,290,64,1 +20,219,3993,1783,13,1402,238,133,37,1 +20,179,2404,5395,14,541,295,50,23,1 +20,197,643,1978,68,1583,157,278,58,1 +20,10,1140,4458,37,1582,421,199,24,1 +72,47,3753,3695,143,15,149,284,42,1 +20,178,2414,482,68,541,186,338,23,1 +20,179,3015,2308,93,1402,22,50,23,1 +20,178,512,658,13,541,71,338,23,1 +20,240,3192,7056,44,1818,23,109,42,1 +20,244,1238,5340,74,1758,218,285,8,1 +91,13,3927,658,130,1182,405,313,64,1 +73,213,2398,5275,132,1751,226,28,14,1 +20,178,316,896,93,541,30,338,23,1 +116,154,4012,35,93,1140,148,215,38,1 +7,73,1036,11,96,30,239,189,54,1 +43,177,4161,525,142,947,172,77,44,1 +88,47,2737,5186,100,15,239,284,42,0 +20,142,1238,6094,74,271,188,2,8,1 +126,73,661,1432,91,2205,170,189,54,1 +20,179,2752,51,85,541,297,50,23,1 +96,47,738,4986,97,15,239,284,42,1 +103,278,3333,3604,162,654,54,180,64,1 +64,179,4046,3320,62,541,295,50,23,1 +20,297,316,896,13,541,30,91,23,1 +20,179,2208,3085,13,1402,238,50,23,0 +20,163,2451,4276,44,500,210,68,30,1 +20,178,116,2884,14,541,295,338,23,1 +126,245,1499,3768,91,1658,58,283,51,1 +20,58,1642,1560,37,1664,177,208,8,1 +0,73,1107,7093,67,864,356,189,54,1 +103,187,4041,3965,162,1917,379,330,28,1 +20,317,3415,2875,74,1436,49,148,23,1 +20,179,4138,1151,93,541,395,50,23,1 +20,297,809,5753,85,1368,428,91,23,1 +81,178,4168,530,166,541,188,338,23,1 +69,278,1667,672,134,496,298,180,64,1 +20,178,907,119,93,541,12,338,23,1 +16,32,1340,4915,50,1699,298,210,42,1 +120,13,3530,3565,124,1514,298,313,64,1 +20,231,2109,6490,93,276,251,51,10,1 +20,79,75,1879,44,2281,440,334,24,1 +122,52,928,530,72,1761,373,294,13,1 +20,78,3647,5744,85,2278,177,223,50,1 +20,315,4125,3568,44,394,382,309,23,1 +103,179,859,3401,136,541,41,50,23,1 +20,297,1559,3048,93,1402,306,338,23,1 +20,178,2151,4521,85,541,297,338,23,1 +20,178,3390,5536,85,541,87,338,23,1 +20,178,2630,3582,44,541,382,338,23,1 +20,178,3390,482,85,541,87,338,23,1 +20,179,2469,1560,85,541,287,50,23,1 +20,170,2492,6301,37,1115,153,179,2,0 +43,307,4028,4595,142,384,298,228,64,0 +20,100,2792,5427,14,235,132,30,33,1 +20,276,121,4724,85,1736,328,8,2,1 +20,105,1860,572,44,1266,403,325,30,1 +20,178,192,6760,44,541,371,338,23,1 +20,230,101,5279,37,1766,153,184,2,1 +126,99,1613,6696,91,1690,14,302,54,1 +20,154,1029,6731,68,660,445,215,38,1 +55,84,384,1897,70,2142,362,239,2,1 +14,73,1971,5107,89,1474,107,325,30,1 +55,197,2346,6094,70,1286,172,278,58,1 +118,73,690,2360,171,640,356,189,54,1 +126,99,1613,3768,91,2173,14,302,54,1 +67,315,2699,1967,155,394,112,309,23,1 +122,297,2617,4829,167,1243,291,91,23,1 +20,321,2512,1123,85,1998,301,129,28,1 +56,99,3844,2985,41,816,124,302,54,0 +90,83,1119,3950,163,384,277,290,64,1 +20,302,643,4276,68,858,157,35,13,1 +20,197,2266,5732,44,1652,418,278,58,1 +20,190,1238,4317,74,1452,218,1,8,1 +126,272,1545,669,91,2212,310,95,8,1 +6,196,2079,4776,6,1176,318,135,38,1 +89,99,2649,2618,5,2089,14,302,54,0 +20,197,242,2639,93,330,78,278,58,1 +20,10,3983,51,37,541,421,199,24,1 +20,100,1271,5642,74,916,49,30,33,1 +80,187,2974,5570,38,1717,379,330,28,1 +20,297,3736,4700,74,541,256,91,23,1 +81,179,1004,783,166,541,52,50,23,1 +20,244,1238,2502,98,1758,218,285,8,1 +20,170,1892,1808,44,1294,159,179,2,1 +20,178,2789,861,68,541,381,338,23,1 +116,37,2479,4393,75,122,380,286,53,1 +20,178,2353,346,68,1384,200,338,23,0 +20,178,2003,2034,13,541,100,338,23,0 +20,22,2641,2454,74,2205,56,192,8,1 +20,288,902,593,93,554,72,35,55,1 +20,179,831,6149,68,1402,335,50,23,1 +116,276,3443,1596,75,2117,101,8,2,1 +20,178,633,530,13,541,346,338,23,1 +20,178,2622,4927,74,541,123,338,23,1 +81,200,456,5492,166,1164,238,116,38,1 +20,178,4133,5536,85,541,435,338,23,1 +20,296,2883,1123,85,698,19,172,47,1 +20,200,1060,5342,44,1164,57,116,38,1 +20,178,2206,4223,37,541,393,338,23,1 +20,178,1922,3336,68,541,381,338,23,1 +20,190,2204,861,37,671,421,1,8,1 +20,52,757,51,37,1030,192,294,13,1 +20,178,1746,119,13,1402,71,338,23,1 +81,56,1533,757,166,370,431,121,38,1 +20,302,215,1808,63,198,264,35,13,1 +20,179,2909,1879,44,541,381,50,23,1 +20,302,3879,3372,44,1557,0,35,13,1 +20,301,2732,4872,68,90,381,320,49,1 +20,178,3647,7152,85,541,177,338,23,1 +20,154,1152,835,68,799,366,215,38,1 +20,178,3119,6036,14,541,367,338,23,1 +20,100,1408,4193,37,235,108,30,33,1 +0,47,2592,1343,67,372,326,284,42,1 +20,178,3358,4746,14,541,327,338,23,1 +116,240,3443,3755,75,2117,101,8,2,1 +120,307,3854,4032,124,820,54,228,64,1 +20,179,710,557,37,541,391,50,23,1 +20,282,2271,4326,85,1384,177,338,23,1 +90,83,2261,4668,163,384,277,290,64,1 +20,215,1346,7119,68,541,186,44,30,1 +20,178,1142,2267,44,541,220,338,23,1 +20,11,4048,4693,44,278,146,131,0,1 +24,224,3504,4732,52,1229,149,234,42,1 +73,203,1571,3776,60,1178,406,42,30,1 +20,138,1999,2233,90,1482,226,150,42,1 +107,165,1893,7267,98,1921,195,232,53,1 +20,190,824,6201,85,671,177,1,8,1 +47,47,812,4662,78,15,124,284,42,1 +20,178,590,6476,37,541,192,338,23,1 +20,179,2219,3721,68,541,157,50,23,1 +20,300,424,1554,37,90,275,227,28,1 +20,178,457,1593,44,1402,220,109,23,1 +14,105,2028,5427,89,1786,107,325,30,1 +20,190,1405,1062,63,541,433,50,23,1 +81,109,1271,530,166,139,409,154,64,1 +20,178,1211,6949,93,541,263,338,23,1 +20,179,2864,1856,37,541,421,50,23,1 +20,178,3863,4655,13,541,139,338,23,1 +20,198,2085,6683,44,1800,403,9,30,1 +116,214,2814,3956,75,1748,330,175,32,1 +103,334,899,4457,136,235,112,335,33,1 +20,328,2919,2188,37,1244,370,181,12,0 +20,215,3494,1749,44,1975,231,44,30,1 +20,154,669,5507,13,2101,238,215,38,1 +20,324,2117,1923,74,1779,237,145,50,0 +20,215,3806,5427,44,858,0,44,30,1 +20,301,2209,2235,68,90,366,320,49,1 +20,178,2266,4824,44,1652,418,278,58,1 +20,160,3993,2824,13,567,238,288,37,1 +103,178,444,3721,44,541,371,338,23,1 +57,178,1030,5367,124,541,346,338,23,1 +20,215,2726,5732,44,1178,0,44,30,1 +20,333,3002,6968,74,2124,111,332,32,1 +20,113,3167,81,136,235,109,123,52,1 +20,178,2431,1402,37,541,108,338,23,1 +94,99,883,5150,53,2089,14,302,54,1 +20,297,1517,4032,44,1402,144,91,23,1 +120,13,791,4032,124,655,298,247,64,1 +20,297,1614,618,14,1202,327,91,23,1 +30,99,1560,984,46,864,124,302,54,1 +20,178,676,7176,44,541,112,338,23,0 +81,179,2560,990,166,541,52,50,23,1 +20,179,1693,7071,93,1402,314,50,23,1 +20,205,3241,6816,68,1193,38,263,30,1 +20,59,3238,5549,37,148,370,338,12,1 +20,179,302,1558,74,541,242,50,23,1 +126,272,1545,6345,91,2212,310,95,8,1 +20,11,1903,2107,44,405,158,131,0,1 +107,163,3297,3650,98,2012,416,68,30,1 +113,301,1011,3218,47,1657,438,320,49,1 +116,165,2000,3597,75,404,191,232,53,1 +20,179,1029,4156,68,541,445,50,23,1 +73,189,610,681,132,97,308,191,16,1 +20,163,347,2623,68,1865,186,68,30,1 +20,138,1930,2984,44,90,371,320,49,1 +120,83,901,3950,124,820,298,290,64,1 +20,156,3734,4926,68,1595,440,324,30,1 +20,139,3529,482,44,637,144,271,9,1 +69,109,1667,4062,134,2158,298,154,64,1 +20,178,3501,2582,37,541,304,338,23,1 +20,203,1890,1978,44,209,231,42,30,1 +20,178,824,3514,85,541,177,338,23,1 +10,43,2911,1978,36,1281,0,257,30,1 +20,132,2237,6094,68,262,182,83,23,1 +92,179,2943,6816,65,541,174,50,23,1 +122,94,2834,4393,167,1780,291,76,56,1 +20,179,2376,3080,74,797,256,50,23,1 +20,302,1285,2389,68,677,144,35,13,1 +20,154,4125,3568,44,799,382,215,38,1 +20,253,3004,6697,90,674,390,276,1,1 +20,297,910,6542,63,2292,126,91,23,1 +20,179,3687,2591,44,541,144,284,23,1 +81,178,4089,6604,166,541,52,338,23,1 +121,99,2447,3077,161,2089,170,302,54,1 +20,154,3967,2208,14,625,340,215,38,1 +10,248,2944,3545,36,2205,330,98,10,1 +79,297,4034,2545,92,425,210,91,23,1 +20,170,3198,5006,13,1115,254,179,2,1 +20,150,3565,5130,37,1190,55,183,6,1 +20,302,49,1104,44,858,316,35,13,1 +20,179,4160,6123,68,541,174,50,23,1 +20,297,633,2926,13,1202,346,91,23,1 +86,105,2573,3428,68,2202,186,325,30,1 +53,240,2538,2811,127,354,205,109,42,1 +20,282,3655,1897,37,858,119,245,49,1 +20,178,2842,4497,44,541,381,338,23,1 +11,187,513,4503,8,1699,298,330,28,1 +20,56,339,51,44,799,303,121,38,1 +122,94,743,6872,167,1507,337,76,56,1 +15,99,819,1406,101,1490,124,302,54,1 +116,300,2521,1352,75,1998,76,227,28,1 +20,47,3778,5716,93,541,30,50,23,1 +20,179,2558,6171,68,541,186,50,23,1 +91,282,2480,6816,68,1172,8,245,49,1 +10,262,1720,6671,36,1141,81,126,9,1 +20,150,2280,4276,37,575,55,183,6,1 +20,282,1224,3074,44,221,371,245,49,1 +20,315,68,5327,68,541,366,309,23,1 +122,133,288,395,167,56,29,300,11,1 +116,165,1138,6450,75,2283,380,232,53,1 +20,179,939,5637,14,541,41,50,23,1 +119,203,688,1747,168,2272,406,42,30,1 +20,59,3238,2799,37,2217,370,214,12,1 +20,315,275,6004,63,541,185,309,23,1 +20,150,1833,5770,37,1190,442,183,6,1 +20,178,2376,1297,74,541,256,338,23,1 +20,179,2627,3814,37,541,192,50,23,1 +20,182,2190,1978,93,2205,378,238,33,1 +20,179,1987,6094,37,1402,192,50,23,1 +20,179,3084,6923,14,394,327,50,23,1 +20,52,757,4044,37,1030,192,294,13,1 +89,99,1762,264,33,2089,239,302,54,1 +122,316,2692,4262,72,1528,373,119,36,0 +20,297,1068,709,93,472,30,91,23,1 +14,105,1971,6450,89,1474,107,325,30,1 +20,179,667,2857,44,541,144,50,23,1 +20,138,3788,6094,85,1593,328,150,42,1 +20,121,2732,4485,68,980,360,78,13,1 +116,43,4049,7071,75,1281,191,257,30,1 +20,179,3470,3384,74,541,263,335,23,1 +35,99,309,5686,138,1690,149,302,54,1 +20,203,1276,2268,44,574,416,42,30,1 +20,244,2632,51,85,1758,99,285,8,1 +20,282,3800,3572,68,1369,144,245,49,1 +20,297,2635,3152,63,541,396,91,23,1 +96,138,1756,4986,23,1777,281,150,42,0 +20,272,1556,3908,74,869,162,95,8,1 +116,43,1655,4824,75,1281,210,257,30,1 +20,52,2064,2921,68,2125,386,294,13,1 +86,73,4172,1380,147,558,170,189,54,1 +67,179,2516,51,155,541,144,50,23,1 +20,140,3100,1983,74,531,361,49,30,0 +83,99,2797,472,56,1690,239,302,54,1 +20,37,2805,1978,68,198,181,286,53,1 +20,297,2691,5861,14,541,327,91,23,1 +20,302,3618,1978,44,592,134,35,13,1 +20,155,1408,2141,37,541,108,338,23,1 +73,179,2959,4429,132,541,209,50,23,0 +20,197,643,3291,68,1583,157,278,58,1 +20,240,3065,3653,85,396,99,109,42,1 +20,132,84,6094,68,1187,332,83,30,1 +20,178,765,4674,68,541,366,338,23,1 +20,89,985,5427,37,111,175,226,40,1 +50,73,3457,6793,156,864,326,189,54,1 +20,179,3501,4105,37,779,304,50,23,1 +20,297,2627,1338,37,541,192,91,23,1 +20,297,1894,3774,37,1402,421,91,23,1 +20,173,3526,466,44,1583,196,151,58,1 +49,99,1507,1056,84,2089,356,302,54,1 +107,5,2629,6811,98,321,6,48,40,1 +20,179,1120,679,44,541,220,50,23,1 +91,173,993,10,130,879,364,151,58,1 +20,178,3501,956,37,541,304,338,23,1 +78,282,409,5918,71,35,424,245,49,1 +20,179,2551,1879,44,541,381,50,23,1 +10,173,1081,7218,36,1490,0,151,58,1 +20,176,3404,6469,90,2058,221,259,31,1 +81,315,2955,635,166,394,272,309,23,1 +103,334,899,4340,136,235,112,335,33,1 +10,214,3422,3545,36,930,330,175,32,1 +20,179,1789,827,14,1402,5,50,23,1 +81,196,3219,4845,166,1164,246,135,38,1 +122,48,3326,530,167,1831,75,261,56,1 +20,274,1480,7212,68,2202,186,264,30,1 +103,325,2942,3950,162,2112,298,218,51,1 +20,178,3327,3242,13,541,344,338,23,0 +20,303,1750,3206,37,1190,178,243,6,1 +88,138,3289,2413,100,1342,176,150,42,1 +69,83,769,6220,134,642,298,290,64,1 +20,178,666,262,93,541,12,338,23,1 +62,73,2507,3583,49,952,253,189,54,1 +20,276,139,4225,85,1305,327,8,2,1 +20,121,70,5226,93,858,251,78,13,1 +49,84,2110,6513,64,1766,170,239,2,1 +20,301,1300,7014,85,90,265,320,49,1 +20,240,2704,6880,74,921,263,109,42,1 +20,86,133,6816,68,941,381,219,0,1 +122,172,1342,4829,167,1113,75,200,51,1 +20,150,1833,5523,37,1190,178,183,6,1 +20,179,3191,1963,44,541,173,50,23,1 +107,37,2443,6707,98,55,445,286,53,1 +103,196,3421,7218,162,2041,371,135,38,1 +49,47,3976,6436,64,15,356,284,42,1 +61,73,650,3540,158,1378,239,189,54,1 +79,170,1121,1808,92,497,159,179,2,1 +20,297,648,1808,68,741,183,91,23,1 +7,73,2518,2905,96,447,272,189,54,1 +20,215,2276,6308,68,355,186,44,30,1 +30,174,638,3371,46,1490,124,169,54,1 +33,39,3047,530,82,1890,163,167,17,1 +107,203,319,7087,98,560,414,42,30,1 +20,73,2160,2178,105,1875,239,189,54,1 +20,178,3327,51,13,541,344,338,23,1 +20,100,1927,13,74,916,49,30,33,1 +120,307,893,3565,124,667,298,228,64,0 +20,34,3283,1151,93,2174,222,251,49,1 +71,178,528,5956,110,541,263,338,23,1 +20,302,1944,5427,37,198,236,35,13,1 +20,200,2163,2926,13,799,238,116,38,1 +55,310,1766,2931,70,1677,217,258,60,1 +20,337,4013,1570,44,2144,6,122,6,1 +20,231,2879,482,37,2138,125,51,10,1 +81,178,763,3609,166,541,144,338,23,1 +20,301,2182,3903,68,90,238,320,49,1 +55,185,853,4543,70,1079,296,174,60,1 +20,297,1213,226,63,1368,396,91,23,1 +20,151,4176,4161,74,2205,56,292,8,1 +116,203,3141,3701,75,1178,210,42,30,0 +20,236,3025,482,93,1998,20,203,28,1 +20,297,731,1065,63,1243,429,91,23,1 +20,170,4126,1612,44,709,159,179,2,1 +20,160,381,2824,14,614,340,288,37,1 +20,204,23,1090,13,1609,71,319,23,1 +20,179,2829,2839,68,541,28,50,23,1 +20,178,3071,3051,68,541,144,338,23,1 +20,178,2772,2079,68,2055,144,338,23,1 +120,307,893,6609,124,667,298,228,64,1 +35,32,3503,1547,138,1690,149,210,42,1 +20,105,2573,1808,68,2202,186,325,30,1 +20,179,2294,5507,37,541,271,50,23,1 +89,73,990,5458,33,1648,170,189,54,1 +20,308,2689,5284,85,1822,410,207,12,1 +20,178,1464,5507,68,541,144,338,23,1 +113,301,544,1738,47,1508,360,320,49,1 +20,303,2104,5568,37,1190,283,243,6,1 +20,138,3350,5507,68,354,333,150,42,1 +29,278,1584,2061,129,1108,298,180,64,1 +20,178,1146,969,63,541,433,338,23,1 +20,13,701,326,39,654,302,313,64,1 +10,179,36,1833,36,586,192,50,23,1 +20,178,2864,3804,37,541,421,338,23,1 +20,50,2822,2231,90,547,180,81,51,1 +20,179,3523,361,85,1402,297,50,23,1 +20,178,4125,2093,44,1583,146,151,58,1 +43,307,4128,4595,142,384,298,228,64,0 +20,64,4170,6511,44,709,159,187,2,1 +20,179,2575,3271,44,1402,371,50,23,1 +20,27,1236,2623,68,28,26,308,30,1 +20,173,2132,2193,85,1754,2,151,58,1 +20,302,1944,6450,37,858,236,35,13,1 +20,240,1847,6862,44,354,255,109,42,1 +103,196,3394,3187,136,2041,382,135,38,1 +20,150,1583,5752,37,54,55,183,6,1 +20,13,3501,6378,37,541,304,50,23,1 +20,297,2990,4474,68,541,381,91,23,1 +20,105,1349,6094,68,2202,230,325,30,1 +19,47,4038,4958,9,15,239,284,42,1 +88,73,2719,2413,100,150,170,189,54,1 +20,297,1622,5224,44,541,270,91,23,1 +6,138,2495,4223,6,2180,214,150,42,1 +20,179,112,3161,74,1402,91,50,23,1 +20,179,2829,4990,68,541,28,50,23,1 +107,203,319,6094,98,560,414,42,30,1 +20,178,4184,6349,44,541,6,338,23,0 +20,190,965,4611,85,1468,229,1,8,1 +20,170,59,6327,90,1294,311,179,2,1 +20,240,1468,1552,93,354,409,109,42,1 +79,170,1121,6511,92,497,159,179,2,1 +10,179,4134,51,36,541,204,50,23,1 +44,47,2248,5549,108,15,356,284,42,1 +20,179,3470,2959,74,1402,263,50,23,1 +15,73,2169,4052,101,1972,124,189,54,1 +20,178,473,3022,44,541,371,338,23,1 +20,179,2037,6674,93,541,238,50,23,1 +31,207,1242,626,140,1494,424,272,49,1 +20,211,1442,6369,85,819,328,235,2,1 +20,301,3545,1354,74,1168,237,320,49,1 +20,274,2337,1285,68,2202,445,264,30,1 +20,179,2676,5853,13,1402,278,50,23,1 +20,301,3936,6082,14,90,295,320,49,1 +20,297,1764,83,85,983,428,91,23,1 +80,187,1767,1172,38,1974,379,330,28,1 +20,178,1492,5909,74,541,263,338,23,1 +81,178,509,530,166,541,373,338,23,1 +20,306,1376,5979,44,1834,146,41,58,1 +20,272,963,1123,85,409,318,95,8,1 +20,178,3778,5978,93,541,272,338,23,1 +20,178,2713,7138,44,541,144,338,23,1 +20,178,1975,4074,68,541,381,338,23,1 +20,282,179,1808,14,1172,327,245,49,1 +103,261,1652,3965,162,1422,275,10,65,1 +67,179,2516,6237,155,541,144,50,23,1 +20,179,2219,6085,68,541,157,50,23,1 +20,179,1064,6306,44,541,371,50,23,1 +20,274,1852,715,68,2202,445,264,30,1 +20,68,945,4223,74,355,267,237,30,1 +20,178,282,4765,68,541,381,338,23,1 +20,178,3191,2594,44,541,82,338,23,1 +20,179,1803,1509,44,541,23,50,23,1 +20,301,3914,5294,14,541,46,320,49,1 +20,170,2295,4965,90,184,226,179,2,1 +20,236,120,308,85,1186,116,203,28,1 +78,174,2113,4285,71,1690,149,169,54,1 +20,179,2837,3334,37,1402,192,50,23,1 +86,99,3953,2229,147,2089,356,302,54,1 +20,297,2502,5226,44,2292,371,91,23,1 +20,297,2817,1210,85,1202,428,91,23,1 +20,272,1556,7162,74,869,162,95,8,1 +81,179,1103,861,166,541,52,50,23,0 +20,179,3500,3038,63,541,234,50,23,1 +20,204,734,3285,14,1268,327,319,23,1 +43,278,3951,2843,142,2108,298,180,64,1 +57,246,1752,7249,25,462,109,205,52,1 +103,56,1210,5568,68,799,298,121,38,1 +20,278,3053,3529,39,654,189,180,64,1 +20,178,1517,928,44,541,144,338,23,1 +107,37,3267,5547,98,55,403,286,53,1 +20,301,2650,1808,68,90,360,320,49,1 +20,301,1755,6094,13,90,219,320,49,1 +71,179,528,4803,110,541,263,50,23,1 +107,163,1455,5107,98,1873,438,68,30,1 +20,150,3565,2223,37,1190,55,183,6,1 +20,178,1181,51,44,541,23,338,23,1 +116,43,1655,5286,75,1281,210,257,30,1 +20,179,2672,1877,85,541,297,50,23,1 +20,179,692,4798,74,541,256,50,23,1 +20,83,2938,326,39,384,189,290,64,1 +56,47,736,1089,41,816,124,284,42,1 +119,230,16,2631,168,1279,9,184,2,1 +103,83,2242,1014,162,384,83,290,64,1 +20,178,1232,2184,44,1384,381,338,23,1 +113,73,3096,6690,47,1022,149,189,54,1 +20,208,3474,5406,44,651,231,326,53,1 +20,178,813,2345,85,541,297,338,23,1 +20,165,1696,4503,44,661,0,232,53,1 +20,198,2217,6094,68,1483,230,9,30,1 +20,300,120,6638,85,555,116,227,28,1 +20,154,3296,5853,13,1164,358,215,38,1 +20,170,398,4059,68,1294,159,179,2,1 +122,178,3405,1009,72,1033,71,338,23,1 +20,105,226,5551,68,1074,207,325,30,1 +49,47,3621,6484,84,15,170,284,42,1 +13,73,1604,6580,152,250,170,189,54,1 +20,302,3879,3296,44,1557,0,35,13,1 +20,179,3459,5801,37,1402,421,50,23,1 +20,11,1331,7232,68,65,381,131,0,1 +20,297,1290,6003,44,1433,202,91,23,1 +20,178,2638,602,37,1402,393,338,23,1 +20,179,2502,5027,44,1980,371,50,23,1 +125,99,2141,6022,121,1490,124,302,54,1 +89,73,2576,963,5,1525,170,189,54,1 +86,313,2026,1328,81,274,140,178,44,1 +20,236,717,3643,68,1998,181,203,28,1 +20,178,3647,4561,85,541,177,338,23,1 +126,174,277,4828,91,1690,40,169,54,0 +103,179,1078,1591,136,541,407,50,23,1 +20,178,2622,2470,74,541,123,338,23,1 +20,178,1296,2231,44,541,371,338,23,1 +20,241,2235,2046,85,601,290,306,62,1 +20,52,1192,51,37,198,370,294,13,1 +83,73,1448,3583,56,1972,356,189,54,1 +20,84,183,1560,85,92,430,239,2,1 +20,68,1579,1808,44,1547,32,237,30,0 +43,13,2201,5492,142,654,298,313,64,1 +20,154,2163,5231,13,346,238,215,38,1 +20,179,2581,1254,37,1402,421,50,23,1 +10,106,3422,1951,36,930,330,256,32,1 +20,301,726,6115,14,90,233,320,49,1 +20,302,3618,5152,44,592,134,35,13,0 +20,178,1948,1808,14,541,295,338,23,1 +20,282,1221,286,13,737,358,245,49,1 +20,178,1726,51,74,1402,256,338,23,1 +109,313,3481,5426,35,2121,148,178,44,1 +20,194,1725,2822,44,1829,6,13,24,1 +20,204,1862,5172,44,979,371,319,23,1 +125,73,377,587,170,1337,124,189,54,1 +20,203,1026,5930,44,2047,130,42,30,1 +20,179,2397,5049,68,541,144,50,23,1 +20,190,3424,1195,85,409,37,1,8,1 +49,76,3654,285,64,829,170,108,21,1 +122,173,3085,530,72,934,372,151,58,1 +20,203,84,2147,68,390,1,42,30,1 +20,179,1024,7232,44,541,360,50,23,0 +81,154,1933,1137,166,1164,131,215,38,1 +20,2,4106,5507,63,1775,396,74,55,1 +20,274,1349,2669,68,1066,230,264,30,1 +20,179,3687,572,44,541,284,50,23,1 +20,288,4065,5753,63,996,126,282,55,1 +20,139,3743,6094,68,637,411,271,9,1 +113,106,1978,6639,47,849,330,256,32,1 +20,178,3909,4223,68,541,335,338,23,1 +20,302,2633,2268,44,1871,210,35,13,1 +20,297,1334,530,13,2292,71,91,23,1 +20,178,2635,51,63,541,396,338,23,1 +20,139,2687,3566,13,637,346,271,9,1 +86,138,2114,5044,68,364,176,150,42,1 +20,142,3954,1690,85,1758,99,2,53,1 +20,179,361,530,13,1309,350,50,23,1 +125,73,3340,5226,170,1972,124,189,54,1 +89,99,1305,4948,32,2089,239,302,54,1 +20,297,648,3925,44,741,183,91,23,1 +20,297,3736,861,74,541,256,91,23,1 +67,179,810,5254,155,541,421,50,23,0 +20,316,2286,5406,44,257,82,119,36,1 +20,179,2498,6830,68,541,411,50,23,1 +20,297,2990,610,68,541,381,91,23,1 +20,301,52,4710,85,242,224,320,49,1 +20,178,2528,3568,44,541,382,338,23,1 +7,73,2518,1420,96,1259,14,189,54,1 +24,224,4103,5942,52,1229,149,234,42,1 +93,73,2697,3782,133,657,170,189,54,1 +20,282,118,2304,68,2255,366,245,49,1 +80,83,471,3922,38,444,298,290,64,1 +20,17,3558,5568,37,1162,421,69,62,1 +17,99,1256,4090,122,1490,124,302,54,1 +20,132,1251,5057,44,266,211,83,30,1 +103,206,3160,3922,162,820,298,287,64,1 +20,178,2842,861,44,541,381,338,23,1 +20,89,152,6108,14,1543,295,226,40,1 +20,100,953,6304,37,235,119,30,33,0 +20,274,586,482,68,1074,186,264,30,1 +20,219,2805,1006,37,199,393,133,37,1 +94,73,1253,689,20,1879,239,189,54,1 +20,10,43,2960,93,2281,142,199,24,1 +20,165,1696,5732,44,661,0,232,53,1 +20,231,2904,6058,44,876,124,51,10,1 +20,301,4178,4542,68,90,144,320,49,1 +20,179,1689,6805,13,541,238,50,23,1 +20,203,3308,5732,68,1662,182,42,30,1 +120,297,2789,861,68,1300,438,91,23,1 +20,318,3949,4223,74,651,88,94,60,1 +126,272,1545,1592,91,2212,310,95,8,1 +20,112,2424,4824,68,1415,186,277,53,1 +20,82,961,2164,85,907,293,176,8,1 +20,228,2473,6094,85,191,363,37,54,1 +20,203,2513,1612,44,574,416,42,30,1 +74,47,2823,5458,45,2089,356,284,42,1 +20,297,2158,1649,85,541,338,91,23,1 +20,5,3651,1203,63,1320,264,48,40,1 +20,62,3550,6476,68,186,333,50,23,1 +20,240,2600,1978,68,41,207,109,42,1 +20,178,1650,4223,63,541,396,338,23,1 +73,99,2606,2654,153,2089,356,302,54,1 +20,203,568,4824,44,574,262,42,30,1 +83,99,1516,6012,56,1690,170,302,54,1 +81,315,3219,3059,166,394,188,309,23,1 +20,297,957,1634,14,1402,295,91,23,1 +67,178,2474,1767,3,541,14,338,23,1 +20,178,2668,7168,68,541,158,338,23,1 +20,178,1541,1424,13,541,139,338,23,1 +20,64,706,6476,44,1294,104,187,2,1 +20,297,1298,6734,44,541,270,91,23,1 +20,178,941,861,37,541,393,338,23,1 +20,179,2107,6053,74,541,327,50,23,1 +125,99,606,2642,170,1490,124,302,54,1 +20,179,63,4734,37,541,393,50,23,1 +50,174,1897,5490,156,864,356,169,54,0 +20,178,2289,4276,44,541,158,338,23,1 +20,34,231,4047,74,733,237,251,49,0 +122,297,2465,4829,72,541,344,91,23,1 +20,86,1331,3139,68,941,381,219,0,1 +15,73,1131,1380,101,1972,124,189,54,1 +20,100,2922,1018,85,235,338,30,33,1 +20,221,3695,4083,44,1758,309,231,8,1 +20,105,1349,6816,68,2202,230,325,30,1 +20,240,552,5385,63,354,84,109,42,1 +20,248,3480,6911,44,2205,348,98,10,1 +20,297,1024,51,44,1751,381,91,23,1 +125,73,1685,6393,170,1972,124,189,54,1 +20,62,2650,2647,68,1026,360,295,23,1 +44,73,2440,482,108,2053,170,189,54,1 +20,198,1063,6541,93,1248,378,9,30,1 +80,13,1692,2876,38,449,54,313,64,1 +23,138,3013,4966,157,2221,124,150,42,1 +20,328,758,6737,44,1203,210,181,12,1 +20,240,3657,658,93,1265,323,109,42,1 +81,154,3219,910,166,1164,246,215,38,1 +20,334,2792,4002,14,235,437,335,33,1 +110,99,2348,2664,120,2089,356,302,54,1 +20,197,2056,3858,93,877,76,278,58,1 +20,78,3163,2938,13,2278,237,223,50,1 +20,68,3188,6940,44,1547,32,237,30,1 +20,315,501,530,13,1556,75,309,23,1 +91,297,1875,6447,130,541,177,91,23,1 +11,83,293,1474,8,68,298,290,64,1 +20,282,466,5119,74,323,263,245,49,1 +20,52,1155,4223,44,1359,130,294,13,1 +122,94,1561,6307,167,1719,337,76,56,1 +103,179,2844,4726,85,1264,382,50,23,1 +20,297,4072,5917,14,1708,295,91,23,1 +20,173,617,4098,44,1583,146,151,58,1 +20,179,3523,4660,85,1402,297,50,23,1 +20,150,1750,3206,37,1190,442,183,6,1 +20,105,3040,6450,44,1074,438,325,30,1 +79,208,3030,1808,92,1692,406,326,53,1 +20,248,1178,3516,74,1406,56,98,10,1 +20,16,1833,5821,37,894,178,66,6,1 +62,283,3807,3009,49,2159,124,269,54,1 +20,190,3424,143,85,409,37,1,8,1 +103,150,793,5568,162,1945,442,183,6,1 +26,47,846,59,164,15,14,284,42,1 +20,65,1877,6094,44,1940,32,156,30,1 +20,135,1140,3797,37,2155,421,252,24,1 +20,179,1334,3603,13,541,71,50,23,1 +20,294,3642,5427,68,1415,186,29,60,1 +116,43,1655,5224,75,1281,210,257,30,1 +92,132,154,6816,65,1106,234,83,30,1 +108,240,2049,7086,123,789,124,109,42,1 +107,163,3604,6816,98,2073,416,68,30,1 +20,317,3415,1650,74,1436,49,148,23,1 +39,99,12,2846,154,1490,124,302,54,1 +116,178,146,4289,75,541,220,338,23,1 +100,297,3841,6959,44,1202,220,91,23,1 +20,302,2650,114,68,858,360,35,13,1 +22,83,1253,6204,76,384,298,290,64,1 +20,179,639,87,68,541,360,50,23,1 +20,297,593,5507,93,541,72,91,23,0 +20,179,1540,51,44,541,371,50,23,1 +55,278,3590,5427,70,2232,364,180,64,1 +6,196,2079,3590,6,1176,148,135,38,1 +20,154,3350,2184,44,799,381,215,38,1 +20,60,2672,1950,85,2301,297,26,23,1 +113,163,1510,5224,47,1865,196,68,30,1 +20,297,907,7160,93,541,12,91,23,1 +27,73,375,3928,57,2159,124,189,54,1 +20,179,697,4456,93,541,251,50,23,1 +103,301,4083,2639,136,90,362,320,49,1 +20,230,2976,6479,44,805,104,184,2,1 +20,178,3864,3785,13,541,64,338,23,1 +20,178,2530,1508,13,541,365,338,23,1 +20,179,3319,3686,13,541,346,50,23,1 +20,178,410,3628,44,1402,144,338,23,1 +73,170,1287,4709,60,1294,159,179,2,1 +20,178,2374,2903,63,541,396,338,23,1 +20,179,1463,4936,14,541,39,50,23,1 +44,73,2716,2736,108,2305,170,189,54,1 +20,178,765,2104,68,541,366,338,23,1 +20,297,3910,3538,44,1202,270,50,2,1 +49,99,3621,1094,84,2089,356,302,54,1 +10,289,4137,4628,36,1786,225,316,32,0 +20,179,3014,2123,44,541,418,50,23,1 +2,12,1557,7086,94,921,128,21,42,1 +116,165,3588,476,75,840,380,232,53,1 +67,178,3866,482,155,541,411,338,23,1 +20,163,991,6450,44,1257,262,68,30,1 +72,313,3535,3720,143,2049,124,178,44,1 +20,179,49,2951,44,541,144,50,23,1 +20,121,1951,236,13,968,373,78,13,1 +20,178,500,861,44,541,371,338,23,1 +55,187,1106,3102,70,1778,379,330,28,1 +114,73,2327,3077,34,177,170,189,54,1 +20,297,979,3915,68,1202,157,91,23,1 +20,179,3737,4190,13,1402,139,50,23,1 +20,179,2931,1560,85,541,297,50,23,1 +7,73,2518,2411,96,447,14,189,54,1 +79,170,1121,4356,92,497,159,179,2,1 +20,245,3693,6469,63,2112,58,283,51,1 +103,177,3787,1495,136,1466,172,77,44,1 +83,47,553,6513,56,2089,326,284,42,1 +20,179,3450,5156,14,541,367,50,23,1 +67,179,1979,6797,155,541,202,50,23,1 +20,179,1817,2652,63,15,264,50,23,1 +78,133,1351,3420,71,166,424,300,11,1 +10,174,3611,5708,66,1690,149,169,54,1 +20,219,652,4942,63,199,429,133,37,0 +88,47,2852,2413,100,15,239,284,42,1 +20,178,1746,7164,13,1402,71,338,23,1 +20,178,3907,1808,14,541,5,338,23,1 +10,178,1577,3657,36,1402,192,338,23,1 +106,32,1293,6898,43,15,149,210,42,1 +20,178,2612,6816,93,541,306,338,23,0 +20,178,3165,6760,37,541,393,338,23,1 +100,73,3769,482,2,1690,170,189,54,1 +20,302,3618,4824,44,592,134,35,13,1 +10,89,1384,2587,36,1611,412,226,40,1 +20,151,466,4530,74,90,263,251,49,1 +20,179,1117,3122,68,541,314,50,23,1 +20,5,387,6094,44,1886,6,48,40,1 +20,179,2502,1453,44,541,371,50,23,1 +20,150,1583,5130,37,54,55,183,6,1 +20,179,3437,5427,14,541,295,50,23,1 +101,73,4104,5466,105,1879,239,189,54,1 +113,310,564,3123,47,1697,364,258,60,0 +20,301,52,887,85,242,224,320,49,1 +20,163,2750,5427,68,1865,186,68,30,1 +20,138,67,4490,90,1036,226,150,42,1 +20,12,2193,5036,74,921,49,21,42,1 +20,178,4066,530,93,1384,22,338,23,1 +20,301,654,51,68,90,411,320,49,1 +20,179,2073,2674,74,1402,256,50,23,1 +20,78,3163,5549,13,2278,237,223,50,1 +49,76,1956,285,64,829,170,108,21,0 +20,170,821,956,37,1294,153,179,2,1 +10,198,3571,5224,36,352,408,9,28,1 +20,101,4106,3698,63,267,207,113,55,1 +20,179,3437,1338,14,541,295,50,23,1 +20,236,3246,1907,37,1597,68,203,28,1 +20,179,340,4223,85,541,435,50,23,1 +20,154,4113,1123,85,85,177,215,38,1 +20,238,472,4223,68,2202,230,103,30,1 +20,178,3344,5507,14,541,327,338,23,1 +20,178,552,4393,63,354,84,109,42,1 +20,240,2862,5224,44,1781,438,109,42,1 +20,219,3993,4908,13,1805,238,133,37,0 +20,297,2842,3870,44,541,381,91,23,1 +20,178,633,5400,13,541,174,338,23,1 +20,179,2630,7119,44,541,382,50,23,1 +20,178,3987,6096,44,541,382,338,23,1 +20,303,3565,3859,37,1190,55,243,6,1 +20,198,2750,482,68,291,230,9,30,1 +55,278,981,5613,70,2131,83,180,64,1 +16,278,604,1474,50,1699,298,180,64,0 +20,179,2431,379,37,541,108,320,23,1 +20,178,1447,7024,44,541,6,338,23,1 +20,274,1739,5382,68,2202,230,264,30,1 +20,79,75,396,44,2281,440,334,24,1 +20,179,2129,2095,93,1309,314,50,23,1 +20,179,1283,2504,85,541,177,50,23,1 +90,83,1119,5129,119,820,258,290,64,1 +88,76,2040,2413,100,2146,170,108,21,1 +20,37,994,5535,44,541,202,50,23,1 +20,277,168,119,13,1101,350,52,23,1 +96,179,3523,423,85,1402,297,50,23,1 +20,165,1696,1808,44,661,0,232,53,1 +20,190,3424,1649,85,671,37,1,8,1 +83,99,1448,6465,56,1690,356,302,54,1 +20,179,177,6610,44,1402,382,50,23,1 +20,179,1369,1244,93,541,251,50,23,1 +20,178,1232,5507,44,1384,381,338,23,1 +90,109,2532,5568,119,655,258,154,64,0 +20,297,302,2886,74,2292,242,91,23,1 +10,213,2068,4688,66,1764,146,28,14,1 +20,121,2413,5551,93,198,131,78,13,1 +90,109,3912,1573,119,94,258,154,64,1 +20,297,526,524,14,1402,340,91,23,1 +81,116,1194,119,166,1913,22,80,60,1 +103,109,1641,1721,162,2273,298,154,64,1 +85,187,2796,6450,16,296,379,330,28,1 +20,182,3967,4646,14,2198,437,238,33,1 +92,68,3020,6816,65,62,234,237,30,1 +20,59,581,6472,37,644,16,214,12,1 +20,297,1024,62,44,1751,381,91,23,1 +118,73,690,1974,171,2089,356,189,54,1 +20,79,1965,530,13,1935,372,334,24,1 +20,263,4162,1358,68,764,257,171,30,1 +20,240,1847,3358,44,354,255,109,42,1 +20,324,3202,2171,74,1779,237,145,50,1 +20,154,2163,2211,13,799,238,215,38,1 +20,69,3655,1808,37,1031,119,11,13,1 +20,178,2381,4985,68,1402,144,338,23,1 +30,73,3386,1380,46,1972,124,189,54,0 +83,174,1516,7227,56,1690,170,169,54,1 +67,179,1703,152,155,541,38,50,23,1 +111,213,2016,1632,116,1427,146,28,14,1 +20,62,3415,6233,74,1766,49,295,23,1 +20,230,2295,5224,90,3,226,184,2,1 +20,178,3183,3941,63,541,433,338,23,1 +103,179,3860,4260,136,541,407,50,23,1 +80,83,1767,5568,38,2250,54,290,64,0 +20,301,961,2555,85,90,293,320,49,1 +49,247,3654,6513,64,1376,170,31,21,1 +20,179,1562,1538,37,1191,393,50,23,1 +20,178,2129,3192,93,541,314,338,23,1 +20,215,3494,6308,44,1975,231,44,30,1 +20,179,2837,2612,37,541,192,50,23,1 +20,179,1525,5282,44,541,112,50,23,1 +20,303,1750,1856,37,1190,442,243,6,1 +116,203,2698,2019,75,1106,195,42,30,1 +125,99,3272,2311,170,1490,124,302,54,1 +103,154,4109,3045,136,799,382,215,38,1 +20,282,3935,231,85,858,177,245,49,1 +11,261,2647,4052,8,623,364,10,65,0 +20,200,2163,1009,13,799,238,116,38,1 +20,179,3778,5025,93,541,30,50,23,1 +20,297,2676,1009,13,541,320,91,23,1 +20,297,2375,51,44,541,285,91,23,1 +20,282,511,6128,85,231,410,245,49,1 +20,178,180,6808,68,541,8,338,23,1 +20,179,2219,370,68,195,157,50,23,1 +20,297,802,6227,85,541,368,91,23,1 +20,132,745,6308,68,1106,182,83,30,1 +56,47,1457,4812,41,1490,124,284,42,1 +40,69,354,4399,4,968,127,11,13,1 +20,79,1033,6450,68,1583,174,334,24,1 +17,99,3926,4203,122,1490,124,302,54,1 +20,179,3024,7185,68,1402,174,50,23,1 +20,150,1583,6324,37,2308,55,183,6,1 +69,187,2783,7119,134,2005,379,330,28,1 +20,179,3191,4485,44,541,173,50,23,1 +122,117,2360,6869,167,6,100,138,4,1 +113,32,3133,1954,47,734,430,210,42,1 +20,204,961,4518,85,1609,293,319,23,1 +20,335,3310,4724,44,240,146,311,14,0 +20,179,633,1009,13,2055,278,50,23,1 +20,236,3833,2026,93,1998,409,203,28,1 +122,178,3405,1868,72,2063,71,338,23,1 +110,47,1420,5773,120,15,14,284,42,1 +90,178,1130,5570,163,296,379,330,28,1 +90,187,612,2237,163,296,379,330,28,1 +120,278,3578,6442,124,654,298,180,64,1 +113,310,564,5338,47,1697,364,258,60,0 +20,215,3494,3428,44,1975,231,44,30,1 +20,150,764,5325,37,2247,118,183,6,1 +20,230,1653,5078,90,805,311,184,2,1 +20,10,1140,6094,37,301,421,199,24,1 +122,242,2360,6872,167,1719,64,315,4,1 +20,78,3202,1649,74,1896,237,223,50,1 +20,302,1447,7024,44,1640,6,35,13,1 +20,316,2767,4023,13,628,80,119,36,1 +20,200,2163,2293,13,2101,238,116,38,1 +20,139,2,4190,13,290,139,271,9,1 +20,203,2706,2618,68,355,186,42,30,1 +50,174,61,3603,156,132,356,169,54,1 +57,157,776,2660,25,1766,109,233,52,1 +107,170,4033,2859,98,1294,9,179,2,0 +86,138,178,2255,147,442,176,150,54,1 +20,140,1812,2639,93,1865,361,49,37,1 +88,73,2852,2413,100,973,239,189,54,0 +107,205,677,3650,98,1944,94,263,30,1 +20,307,3847,7231,39,820,302,228,64,1 +20,301,2792,4822,14,90,437,141,49,1 +103,154,207,5121,136,799,45,215,38,1 +20,163,2531,2623,68,1865,207,68,30,1 +20,198,2025,482,44,291,0,9,30,1 +20,194,1725,954,44,1829,6,13,24,1 +86,313,2026,1831,85,274,335,178,44,1 +15,73,3055,3690,101,1972,124,189,54,1 +21,32,4171,3239,150,15,149,210,42,1 +92,132,2138,6308,85,1230,234,83,30,1 +20,16,3491,7253,37,1190,55,66,6,1 +20,179,2502,6758,44,1980,104,50,23,1 +122,48,3281,530,167,1139,63,261,56,0 +73,203,1505,337,60,691,425,42,30,1 +20,178,1373,1203,63,541,396,338,23,1 +20,69,215,4503,63,1031,264,11,13,1 +20,230,582,2028,85,218,430,184,2,1 +20,178,1540,7192,44,541,371,338,23,1 +20,179,1314,2796,14,541,39,50,23,1 +20,301,3850,454,44,90,220,320,49,1 +20,154,2805,51,37,228,393,215,38,1 +20,274,1480,7119,68,2202,186,264,30,1 +20,163,3449,4223,68,1865,186,68,30,1 +20,42,4163,4223,63,678,433,47,4,1 +67,179,810,1925,155,541,421,50,23,1 +49,47,3078,1887,64,15,14,284,42,1 +81,116,166,4560,166,1171,246,80,60,1 +43,177,2974,2162,142,947,172,77,44,1 +20,5,1849,482,74,509,361,48,40,1 +20,203,1184,1967,44,355,231,42,30,1 +94,28,2327,4894,53,428,170,246,63,1 +67,95,808,2761,155,637,144,146,42,1 +98,282,3890,2555,130,90,177,245,49,1 +20,178,2829,2164,68,1402,28,338,23,1 +20,274,1480,4824,68,2202,186,264,30,1 +43,83,1820,540,142,820,298,290,64,1 +20,198,2085,1612,44,1800,403,9,30,1 +20,178,1053,5111,85,541,428,338,23,1 +20,240,1392,5480,13,354,350,109,42,1 +86,73,2026,525,81,250,170,189,54,1 +20,203,1346,482,68,574,186,42,30,1 +20,84,3551,1988,68,1766,159,239,2,1 +116,106,2814,5406,75,1748,330,256,32,1 +20,179,1987,4005,37,1402,192,50,23,1 +20,179,1030,5088,13,541,346,50,23,1 +20,178,4125,216,44,541,382,338,23,1 +20,219,2632,719,85,1758,99,285,8,1 +20,37,428,244,44,1499,0,286,53,1 +95,47,814,4169,7,2089,239,284,42,1 +20,52,2064,3818,68,2125,386,294,13,1 +20,43,1346,1285,68,1281,197,257,30,1 +20,240,2463,3768,37,1781,118,109,42,1 +20,203,3814,6450,68,1178,207,50,30,1 +20,179,2353,3637,68,541,200,50,23,1 +20,190,963,3257,85,1598,318,1,8,1 +20,263,2547,6094,93,2082,268,171,30,1 +20,179,2502,1798,44,1980,371,50,23,1 +103,197,1400,6862,136,1583,32,278,58,1 +20,178,1024,3943,44,541,381,338,23,1 +107,165,1301,3903,98,1209,414,232,53,1 +20,160,3993,7209,13,567,238,288,37,1 +20,62,2145,3911,74,2301,263,295,23,1 +126,301,3323,3768,91,846,441,320,49,1 +96,47,1964,1799,23,15,239,284,42,1 +107,321,2521,2026,98,1348,76,129,28,1 +20,197,3391,6308,13,1783,372,278,58,1 +103,83,229,5568,162,384,298,290,64,0 +116,165,1138,6707,75,2283,380,232,53,1 +20,100,2282,260,93,2205,131,30,33,1 +20,179,3358,51,14,541,327,50,23,1 +20,240,4125,5879,44,965,382,109,42,1 +20,179,410,1621,63,1335,144,50,23,1 +93,174,3417,611,133,109,40,169,54,1 +56,99,190,7085,41,1857,124,302,54,1 +20,297,2480,2039,68,2292,8,91,23,1 +20,142,3954,2917,85,1758,99,2,8,1 +20,10,17,5427,68,2281,351,199,24,1 +20,178,4116,3799,37,1402,108,338,23,1 +20,203,3066,6617,93,355,268,42,30,1 +20,316,1246,1808,68,1051,183,119,36,1 +20,123,915,482,63,1572,396,190,57,1 +27,99,3628,2529,57,2089,239,302,54,1 +73,197,1492,103,132,90,360,278,58,1 +107,52,1399,5959,98,663,400,294,13,0 +20,179,1768,5949,74,1683,256,50,23,1 +20,170,1699,4667,13,1115,254,179,2,1 +20,100,3415,5275,74,916,49,30,33,1 +20,178,1319,4478,93,1384,385,338,23,1 +20,316,3048,5427,44,432,353,119,36,1 +20,297,1494,861,13,1202,64,91,23,0 +20,59,3238,2566,37,2217,370,214,12,1 +40,231,1102,5040,17,213,364,51,10,1 +92,105,3020,247,65,1444,234,325,30,1 +20,178,2575,1808,44,541,371,338,23,1 +107,203,319,4171,98,560,414,42,30,1 +20,178,1917,388,74,541,263,338,23,1 +20,197,691,5526,44,2135,32,278,58,1 +122,297,3508,119,72,541,52,91,23,1 +20,179,2220,2987,63,541,396,50,23,1 +65,190,3253,580,137,671,385,1,8,1 +81,95,2105,2284,166,1325,339,146,42,1 +28,178,2234,51,104,436,117,338,23,1 +20,203,747,2706,44,668,195,42,30,1 +20,178,192,51,44,1384,371,338,23,1 +20,150,764,5325,37,1190,118,183,6,1 +20,84,2695,1808,93,1766,159,239,2,1 +20,334,2792,861,14,235,437,335,33,1 +6,109,829,5753,6,374,301,154,64,1 +43,13,2804,4963,142,1288,54,313,64,1 +20,302,642,6683,68,2122,38,35,13,1 +89,47,3171,3092,33,15,239,284,42,1 +20,297,676,3909,44,1402,112,91,23,1 +20,178,1886,6480,85,541,338,338,23,1 +20,163,699,1808,68,1865,186,68,30,1 +20,7,811,1027,37,1324,330,18,32,1 +20,150,1583,5801,37,1190,55,183,6,1 +20,178,2540,4223,93,541,12,338,23,1 +20,138,3695,50,44,1758,309,150,42,1 +20,140,3446,3470,93,96,378,49,30,1 +20,100,2239,4002,14,778,437,30,33,1 +20,328,2919,6053,37,1386,370,181,12,1 +81,179,1533,2003,166,541,52,50,23,1 +20,282,2829,1808,68,1172,28,245,49,1 +20,297,2931,51,85,541,297,91,23,1 +20,190,649,5177,44,434,371,1,8,1 +20,122,3529,4452,68,2182,144,163,23,1 +63,163,3261,1285,30,1865,107,68,30,1 +4,179,3838,6617,151,637,294,50,23,1 +43,311,4161,580,142,381,172,328,44,1 +89,138,3620,3092,33,1546,289,150,42,1 +83,47,2311,2375,56,2089,326,284,42,1 +20,278,1483,326,39,654,189,180,64,1 +20,5,1834,1833,37,645,125,48,40,1 +20,139,2801,482,44,637,144,271,9,1 +55,187,1106,4223,70,902,379,330,28,1 +47,99,812,4662,78,1490,124,302,54,1 +20,219,2204,188,37,1899,421,133,37,1 +86,99,3953,3312,147,2089,356,302,54,1 +20,315,275,1647,63,1715,185,309,23,1 +20,179,1232,502,44,541,360,50,23,1 +55,310,1707,6996,70,692,436,258,60,1 +20,334,953,4300,37,543,393,335,33,1 +20,208,3474,3428,44,651,231,326,53,1 +119,163,2690,449,168,1710,26,68,30,1 +20,178,1514,1620,13,541,109,338,23,1 +20,178,2365,1612,93,541,314,338,23,1 +20,178,3285,7072,13,541,365,338,23,1 +20,311,3563,3208,37,90,421,320,49,1 +20,282,3928,1409,37,90,391,245,49,1 +20,178,1373,5788,63,541,396,338,23,1 +20,62,573,5045,44,2301,104,295,23,1 +20,179,1117,3343,68,541,328,50,23,1 +20,282,2997,540,93,2255,306,245,49,1 +20,178,1817,5073,63,541,264,338,23,1 +20,79,1140,3631,37,954,421,334,24,1 +103,206,3160,540,162,820,298,287,64,0 +120,83,2870,5568,124,384,277,290,64,0 +20,170,900,3635,68,709,159,179,2,1 +20,219,3936,7221,14,199,295,133,37,1 +20,190,824,4611,85,671,177,1,8,1 +20,178,1232,4052,44,541,381,245,23,1 +20,132,1346,5406,68,1259,197,83,30,1 +20,84,1019,5427,68,2106,159,239,2,1 +10,32,1958,6690,66,1690,149,210,42,1 +20,221,1238,5335,74,1758,218,231,8,1 +20,178,3181,4223,68,2055,144,338,23,1 +20,244,3065,719,85,1758,99,285,8,1 +20,297,2837,2612,37,741,192,91,23,1 +67,100,810,4129,131,235,421,30,33,1 +20,178,397,969,68,541,8,338,23,0 +83,47,876,4144,56,2089,239,284,42,1 +20,203,3308,7071,68,1662,182,42,30,1 +20,197,2146,119,93,1295,76,278,58,1 +20,297,1375,5753,14,1368,327,91,23,1 +20,300,740,5791,85,555,116,227,28,0 +20,274,586,6511,68,1074,186,264,30,1 +28,179,2503,1492,104,541,117,50,23,1 +20,236,120,496,85,1186,116,203,28,1 +20,178,1369,3605,93,541,251,338,23,1 +28,178,2234,1492,104,436,117,338,23,1 +20,302,39,1151,13,198,80,35,13,1 +89,73,1198,5501,5,755,170,189,54,1 +20,297,3197,861,63,541,264,91,23,1 +96,73,975,5670,97,150,170,189,54,1 +107,166,1501,1978,98,818,130,107,42,1 +83,174,270,371,56,1690,356,169,54,1 +113,178,442,2286,47,541,370,338,23,1 +89,47,3171,5559,104,15,239,284,42,1 +101,73,1827,6353,105,1793,356,189,54,1 +122,179,2834,1151,167,2194,291,50,23,1 +20,215,2276,6683,68,355,186,44,30,1 +113,170,956,5108,47,1115,151,179,2,1 +20,138,849,3650,85,354,328,150,42,1 +90,83,3041,1474,163,1511,298,290,64,1 +20,169,527,6356,13,278,64,162,52,1 +20,297,3237,3208,74,983,256,91,23,1 +20,316,2286,5224,44,257,173,119,36,1 +20,240,2007,5382,44,354,32,109,42,1 +20,139,2545,5226,93,290,131,271,9,1 +88,73,2287,1380,100,559,253,189,54,1 +107,170,4033,2926,98,474,9,179,2,1 +20,179,1726,3208,74,1309,256,50,23,1 +20,179,1689,6681,13,541,238,50,23,1 +107,214,1161,1073,98,1748,330,175,32,1 +51,178,591,3036,102,2199,369,338,23,1 +119,37,3438,2755,168,55,26,286,53,1 +10,32,2211,1362,66,15,149,210,42,1 +63,163,3261,5107,30,1865,107,68,30,1 +20,179,1949,5507,68,541,207,50,23,1 +20,37,2064,811,68,198,181,286,53,1 +20,100,1537,5259,74,235,91,30,33,1 +20,69,2076,2113,37,1272,125,11,13,1 +20,300,120,491,85,555,116,227,28,1 +121,216,1144,3205,161,2193,58,136,51,0 +20,197,535,6094,63,1976,433,278,58,1 +20,86,1331,448,68,941,381,219,0,1 +10,276,2873,6804,36,690,328,8,2,1 +20,200,2163,2338,13,2101,238,116,38,1 +20,230,121,1988,85,943,328,184,2,1 +20,178,1733,51,93,541,306,338,23,1 +20,297,703,4568,63,1202,433,91,23,1 +20,178,1730,543,44,541,444,239,23,1 +20,178,3470,3384,74,541,263,338,23,1 +101,73,1827,3009,105,1793,356,189,54,1 +20,160,3561,1509,44,567,285,288,37,1 +114,313,1920,1135,34,2262,140,178,44,0 +20,297,2528,1040,44,741,382,91,23,1 +20,179,54,51,37,541,192,50,23,1 +60,160,862,426,69,567,369,325,37,1 +20,25,3850,5011,44,1402,220,320,23,1 +20,275,1578,6469,90,961,390,43,14,0 +20,138,3788,2026,85,1960,328,150,42,1 +20,178,3501,4529,37,541,304,338,23,1 +20,230,121,6308,85,943,328,184,2,1 +20,315,3602,946,63,1715,185,309,23,1 +20,86,2732,1578,68,422,360,219,0,1 +20,315,275,1961,63,394,185,309,23,1 +20,179,1513,5732,68,541,174,50,23,1 +20,198,2758,7119,44,1641,134,9,30,1 +4,182,1515,1743,151,1457,294,238,33,1 +20,240,2463,1833,37,1781,118,109,42,1 +51,178,2035,4229,102,541,183,338,42,1 +107,52,1399,6646,98,663,400,294,13,0 +81,83,1245,475,166,2281,188,252,24,1 +20,179,1559,5507,93,541,306,50,23,1 +20,84,582,7235,85,906,430,239,2,1 +20,197,1066,5999,44,2147,348,278,58,1 +20,59,3238,751,37,1267,370,214,12,1 +20,301,179,51,14,90,327,320,49,1 +120,83,31,6904,124,820,298,290,64,1 +91,206,971,3529,130,2195,21,287,64,1 +20,302,4133,1141,85,208,435,35,13,1 +20,240,3425,5385,37,338,166,109,42,1 +20,226,2676,4405,13,600,320,188,47,1 +83,174,1448,472,56,1690,356,169,54,1 +20,129,3512,4276,37,348,125,23,30,1 +20,105,2377,6511,68,2202,186,325,30,1 +20,230,2812,2479,44,1766,159,184,2,1 +20,324,2931,5384,85,885,297,145,50,1 +20,178,2130,4611,14,541,367,338,23,1 +20,297,3883,4355,63,2292,126,91,23,1 +28,127,432,1492,104,1763,117,88,55,1 +5,73,194,1380,148,1588,356,189,54,1 +20,179,2792,119,13,541,71,50,23,1 +43,13,2201,4595,142,654,298,313,64,1 +20,100,1230,849,90,268,9,30,33,1 +20,139,2545,1151,93,290,131,271,9,1 +20,297,1817,4496,63,541,264,91,23,1 +20,297,316,51,13,541,272,91,23,1 +20,190,649,84,44,434,371,1,8,1 +20,297,1411,2143,74,2109,91,91,23,1 +20,302,3949,4700,74,968,88,35,13,1 +20,138,3695,4596,44,1758,309,150,42,1 +20,178,916,2173,37,541,421,338,23,1 +20,160,2979,5637,14,567,41,288,37,1 +20,236,3025,5732,93,1998,20,203,28,1 +20,37,2025,5866,44,1499,0,286,53,1 +20,178,4115,51,85,895,418,338,23,1 +20,172,3019,1511,68,781,58,200,51,0 +20,179,3778,3486,93,541,272,50,23,1 +20,17,3558,3329,162,1162,421,69,62,1 +20,127,197,3433,85,2103,287,88,55,1 +20,272,3424,2104,85,409,37,95,8,1 +43,278,3596,2843,142,2108,298,180,64,0 +20,200,4014,2009,85,799,430,116,38,1 +20,179,3319,3678,13,1402,219,50,23,0 +20,240,406,5732,44,1781,403,109,42,1 +20,100,2792,2146,14,235,132,30,33,1 +92,163,3487,6046,65,2093,234,68,30,1 +90,109,3399,5238,163,654,258,154,64,1 +20,274,1247,5152,68,2202,230,264,30,1 +20,79,583,4581,44,2230,6,334,24,1 +20,179,1060,6816,44,541,57,50,23,1 +20,178,1693,6313,93,541,314,338,23,1 +20,277,2545,3566,93,1792,219,52,23,1 +72,32,490,3695,143,15,149,210,42,1 +20,105,1166,5137,68,2202,182,325,30,1 +103,139,1347,1808,136,637,343,271,9,1 +20,178,1053,5279,85,541,428,338,23,1 +20,282,1451,2987,85,90,99,245,49,1 +20,297,2130,956,14,541,367,91,23,0 +96,47,1187,4986,173,15,239,284,42,1 +57,246,1752,1205,25,462,109,205,52,1 +20,170,573,1612,44,709,104,179,2,1 +63,105,2314,5107,30,568,107,325,30,1 +103,100,899,3028,136,235,437,30,33,1 +20,282,3051,6810,68,1277,144,245,49,1 +117,73,2176,1547,113,2070,149,189,54,1 +20,178,2668,4299,44,541,158,338,23,1 +107,203,4081,5427,98,1493,416,42,30,1 +48,311,2382,4649,28,2121,148,328,44,1 +50,47,487,341,156,2089,356,284,42,1 +20,64,2884,52,44,1294,104,187,2,1 +20,288,2616,2998,37,1763,192,282,55,1 +96,138,1756,1799,23,1777,281,150,42,0 +20,179,3214,1424,13,23,80,50,23,0 +20,190,3424,4302,85,409,37,1,8,1 +20,178,3210,5507,68,541,366,338,23,1 +20,178,3698,7184,44,541,382,338,23,1 +20,84,3263,3177,90,1918,311,239,2,1 +79,178,4034,1046,92,1469,210,338,23,1 +20,282,1637,530,13,1068,109,245,49,1 +20,160,2386,5216,74,567,56,288,37,1 +107,203,319,1612,98,560,414,42,30,1 +14,73,1396,6533,85,1009,124,189,54,0 +64,179,4046,3898,62,541,295,50,23,1 +20,282,1789,1846,14,90,5,245,49,1 +51,200,2241,673,102,681,301,116,38,1 +92,105,315,6453,65,777,438,325,30,1 +20,297,1283,2241,39,1402,177,91,23,1 +122,178,2617,1642,167,541,291,338,23,1 +20,179,4160,3288,68,541,174,50,23,1 +98,173,993,1573,130,879,364,151,58,1 +15,73,3762,3350,101,2169,124,189,54,1 +20,178,3291,908,68,541,335,338,23,1 +90,187,1104,5224,163,296,379,330,28,1 +20,170,1229,2234,37,74,153,179,2,1 +20,178,652,1647,63,2105,429,338,23,1 +20,100,2610,4223,37,235,108,30,33,1 +20,178,666,51,93,541,12,338,23,1 +20,132,3700,7119,44,1259,319,83,30,1 +122,195,3689,530,167,1563,75,64,17,1 +120,13,1721,5088,124,26,54,313,64,1 +20,173,3270,4044,37,1583,125,151,58,1 +20,303,2104,146,37,1190,194,243,6,1 +122,195,1594,530,167,1292,75,64,17,1 +20,25,1652,4853,37,868,55,157,65,1 +20,178,2410,7222,44,541,23,338,23,0 +20,302,4043,1687,93,858,251,35,13,1 +2,99,3112,4882,94,2089,356,302,54,1 +10,230,392,3635,36,1766,215,184,2,1 +116,43,141,6094,75,1281,94,257,30,1 +20,138,2193,4393,74,1142,49,150,42,1 +20,183,1719,51,13,1723,75,242,36,1 +69,278,1034,672,134,496,298,180,64,1 +20,296,2414,4014,49,2202,186,9,30,1 +20,297,3282,7243,68,541,158,91,23,1 +20,69,3949,6113,74,1031,88,11,13,1 +96,73,1244,4725,173,196,239,189,54,1 +20,179,2703,1904,37,1309,393,50,23,1 +20,297,979,6444,68,1202,157,91,23,1 +20,139,2545,1508,93,637,131,271,9,1 +20,154,2163,6848,13,799,238,215,38,1 +20,240,2002,1747,44,354,403,109,42,1 +20,100,2922,872,85,235,338,30,33,1 +20,277,944,51,85,1340,410,52,23,1 +20,230,551,3037,85,1766,328,184,2,1 +20,179,3567,4177,74,541,256,50,23,1 +20,297,4122,1402,37,741,108,91,23,1 +20,227,2760,4962,85,60,150,5,56,1 +15,99,3569,5112,101,1490,124,302,54,1 +20,208,414,4276,44,291,0,326,53,0 +20,179,232,4005,37,1309,192,50,23,1 +20,59,109,6450,63,349,264,214,12,1 +116,170,1190,1475,75,2214,226,179,2,1 +103,83,3925,6904,162,384,54,290,64,1 +107,203,1114,6197,98,1843,182,42,30,1 +103,179,2199,4223,136,1264,382,50,23,1 +20,79,4118,51,74,1798,56,334,24,1 +20,138,2704,2310,74,921,263,150,42,1 +20,178,3528,6422,37,541,391,338,23,0 +20,179,1146,5343,63,541,396,50,23,1 +20,297,28,1580,85,1054,322,91,23,1 +10,248,2944,3814,36,579,330,98,10,1 +116,300,2521,6718,75,1998,76,227,28,1 +20,178,2864,899,37,541,421,338,23,1 +67,138,502,6617,155,799,28,150,42,1 +20,178,1928,4109,74,541,256,338,23,1 +126,99,2325,3768,68,1490,40,302,54,1 +20,197,3156,3428,68,1869,186,278,58,1 +20,230,582,2350,85,1251,430,184,2,1 +4,111,185,3077,151,2193,307,281,51,0 +20,185,3050,2303,37,280,393,174,60,1 +20,165,3001,3378,44,651,210,232,53,1 +20,221,3794,3590,85,1758,99,231,8,1 +20,105,3474,4223,44,1074,231,325,30,1 +20,163,317,5224,68,1865,38,68,30,1 +20,276,470,7065,85,239,328,8,2,1 +20,178,2776,51,85,573,229,338,23,1 +20,230,1417,7185,44,805,159,184,2,1 +28,190,1621,4227,104,671,117,1,8,1 +20,64,2884,4117,44,1294,104,187,2,1 +20,236,2500,4845,93,1998,78,203,28,1 +20,178,992,2379,68,541,281,338,23,1 +20,178,3282,1975,68,541,158,338,23,1 +20,69,401,5378,37,79,421,11,13,1 +20,78,1972,5467,13,1896,237,223,50,1 +20,154,669,3566,13,799,238,215,38,1 +14,138,1446,3546,117,862,124,150,42,1 +43,83,1876,6442,142,384,298,290,23,1 +23,73,3896,5794,157,1879,239,189,54,1 +103,276,4091,1790,136,1736,328,8,2,1 +116,203,3141,4824,75,2185,210,42,30,1 +20,178,2341,6985,85,541,95,338,23,1 +20,295,213,2217,90,172,390,206,1,1 +20,178,3647,2970,85,541,177,338,23,1 +20,297,979,353,68,1202,157,91,23,1 +5,73,781,1969,148,150,170,189,54,1 +89,245,2200,483,33,297,58,283,51,1 +55,278,1122,1718,70,1297,83,180,64,1 +59,99,193,3768,169,1145,149,302,54,1 +20,100,3415,849,74,1753,263,30,33,1 +119,59,3059,1978,168,828,85,214,12,1 +20,200,364,5507,37,799,393,116,38,1 +20,277,2829,6842,68,589,28,52,23,1 +81,20,3900,2876,166,1832,241,141,60,1 +107,203,3286,2976,98,1418,445,42,30,0 +125,73,1747,1380,170,1478,124,189,54,1 +20,178,3181,7128,68,2055,144,338,23,1 +10,106,1574,6811,36,930,330,256,32,1 +85,187,3148,7142,16,1454,379,330,28,1 +20,1,3350,4051,44,567,371,247,37,1 +20,297,1494,3771,13,1202,64,91,23,0 +20,154,3296,5324,13,1164,358,215,38,1 +98,179,1875,4520,130,541,177,50,23,1 +20,317,2189,5476,74,1408,49,148,23,1 +20,64,4037,4485,68,1294,104,187,2,1 +90,83,2261,1718,163,384,277,290,64,0 +20,297,3808,5265,85,1202,177,91,23,1 +20,132,3700,3461,44,1259,319,83,30,1 +126,174,277,1344,33,1690,40,169,54,0 +122,178,2920,2626,167,541,100,338,23,0 +55,83,2366,7140,70,2070,298,290,64,1 +20,274,773,6816,44,2202,416,264,30,1 +20,179,2066,51,37,541,393,50,23,1 +67,150,1697,5801,155,1590,55,183,6,1 +20,59,4025,5261,63,2015,420,214,12,1 +20,203,737,1963,68,355,197,42,30,1 +20,178,966,4679,13,541,238,338,23,1 +90,31,103,2566,163,2132,379,85,28,1 +20,172,2477,1963,90,1624,93,200,51,1 +20,178,2381,2164,68,541,144,338,23,1 +20,301,1803,6707,44,90,285,320,49,1 +20,208,3474,5226,44,651,231,326,53,1 +51,178,591,3268,102,2199,369,338,23,1 +14,205,1543,6308,89,1086,107,263,30,1 +20,178,2170,6805,93,541,435,338,23,0 +20,240,582,1125,85,354,430,109,42,1 +20,286,3880,1963,90,2151,92,27,43,1 +20,240,2858,5224,68,2237,207,109,42,1 +20,254,3763,5287,44,574,357,116,30,1 +20,154,669,6805,13,2101,238,215,38,1 +20,302,1005,1879,68,198,362,35,13,1 +20,178,1146,5517,63,541,396,338,23,1 +20,301,466,2978,74,90,263,320,49,1 +122,175,3232,6872,72,1233,63,310,56,1 +20,203,2025,482,44,390,0,42,30,1 +20,301,4136,5279,63,90,306,320,49,1 +20,43,3589,3867,68,1281,445,257,30,1 +20,179,1922,4765,68,541,381,50,23,1 +91,325,481,1125,130,1689,298,218,51,1 +118,47,3072,1974,171,15,14,284,42,0 +20,160,3350,1085,44,567,371,288,37,1 +83,174,709,11,56,1690,356,169,54,1 +20,179,2890,51,44,541,36,50,23,1 +20,297,1369,2014,93,1202,251,91,23,1 +20,1,1828,2712,74,614,263,247,37,1 +20,179,526,1719,14,541,437,50,23,1 +20,297,2502,3074,44,2292,371,91,23,1 +20,58,2949,2777,13,1468,64,208,8,0 +20,163,520,6683,68,2148,181,50,30,1 +20,58,1642,6730,37,1664,177,208,8,1 +20,301,2792,3329,14,90,132,320,49,1 +89,240,136,483,33,1247,58,109,42,1 +20,203,1207,1808,68,2204,186,42,30,1 +103,179,33,943,136,541,49,50,23,1 +20,179,3436,1242,68,1402,314,50,23,1 +10,179,4134,6534,36,541,204,50,23,1 +20,297,3366,4288,37,332,304,91,23,1 +20,277,2818,116,74,1340,56,52,23,1 +20,178,1302,5925,14,541,41,338,23,1 +67,95,1181,4574,155,1583,285,146,42,1 +81,168,3298,2834,166,284,52,270,9,1 +20,154,3296,6481,13,360,139,215,38,1 +20,30,3250,101,85,2231,223,110,40,1 +17,99,3731,4090,122,1690,124,302,54,1 +20,178,1167,2199,44,541,371,338,23,1 +20,58,3407,1614,85,409,435,208,8,1 +20,178,2837,3061,37,332,192,338,23,1 +20,301,2705,4070,14,90,295,320,49,1 +20,165,230,1285,44,2231,134,232,53,0 +20,307,3552,3851,39,539,302,228,64,1 +20,297,1211,748,93,541,294,91,23,0 +20,179,648,3208,68,541,144,50,23,1 +49,99,3621,6513,84,1879,356,302,54,1 +20,231,2282,43,93,2205,350,51,10,1 +20,179,3015,1459,93,1402,22,50,23,1 +107,321,2521,5398,98,1348,76,129,28,1 +20,245,3693,2129,63,2112,376,283,51,1 +20,48,2760,4293,85,1831,150,261,56,1 +49,47,69,1799,64,15,239,284,42,1 +120,13,1609,5088,124,26,54,313,64,1 +20,179,1541,5100,13,1402,139,50,23,1 +20,245,672,747,74,1943,133,283,51,1 +56,99,3916,285,41,816,124,302,54,0 +20,154,119,1326,44,1473,220,215,38,1 +103,231,233,2358,136,2205,360,51,10,1 +20,123,915,5831,63,1004,396,190,57,1 +20,297,460,6789,68,541,381,91,23,1 +20,297,3737,482,13,541,139,91,23,0 +122,175,836,530,167,6,337,310,56,1 +96,47,1967,1560,173,15,239,284,42,1 +90,83,2995,2758,163,384,317,290,64,1 +20,277,275,1422,63,394,185,52,23,1 +20,138,4061,2363,90,416,135,150,42,1 +86,99,536,2229,147,2089,356,302,54,1 +90,258,1208,2758,163,1123,277,177,32,1 +20,179,1859,5872,68,541,381,50,23,1 +20,198,2750,3428,68,291,230,9,30,1 +20,240,721,4317,85,354,338,109,42,1 +20,182,3915,5279,37,289,209,238,33,1 +20,163,3814,6053,68,1865,207,68,30,1 +67,302,65,2583,155,858,411,35,13,1 +20,86,133,1919,68,941,381,219,0,1 +73,197,2541,6022,132,649,310,278,58,1 +20,315,572,1381,14,394,233,309,23,1 +20,68,2290,1348,44,355,195,237,30,1 +20,179,3539,956,37,541,391,50,23,1 +20,178,4184,5265,44,541,6,338,23,1 +20,59,581,2522,37,644,16,214,12,1 +20,178,652,6555,63,541,429,338,23,1 +20,99,54,4085,37,541,192,50,23,1 +20,297,3960,4414,37,541,391,91,23,1 +20,297,1232,5872,44,2236,381,91,23,1 +20,178,1319,530,93,1384,385,338,23,1 +118,73,3605,3077,171,150,170,189,54,1 +20,302,2633,5224,44,1871,210,35,13,1 +122,277,1335,6872,72,541,97,52,23,1 +20,154,3350,5609,68,799,371,215,38,1 +20,179,831,5401,68,541,335,50,23,1 +20,160,3350,5164,44,567,371,288,37,1 +20,190,2204,2154,37,671,421,1,8,0 +20,67,1338,530,13,961,349,67,14,1 +20,297,556,5917,85,1054,322,91,23,1 +20,154,3350,5021,44,799,371,215,38,1 +20,282,1273,482,44,90,220,245,49,1 +20,263,3553,4276,93,355,378,171,30,1 +120,13,2669,5568,124,449,54,313,64,1 +20,302,2633,3768,44,1871,210,35,13,1 +106,313,4032,5034,43,2049,124,178,44,1 +20,179,1117,2653,68,541,182,50,23,1 +50,73,276,107,156,864,356,189,54,0 +15,99,3055,5112,101,1490,124,302,54,1 +69,109,2721,5568,134,2158,298,154,64,1 +20,178,3282,6765,68,541,158,338,23,1 +20,178,3894,1160,85,541,297,338,23,1 +5,138,2316,5779,148,1889,426,150,42,1 +6,179,3444,6748,6,2199,369,50,23,1 +20,170,59,4291,90,964,311,179,2,1 +79,112,2378,5427,92,855,131,277,53,1 +83,174,709,1497,56,1690,356,169,54,1 +20,50,3627,3392,90,1447,98,81,51,1 +20,282,1825,51,68,1172,292,245,49,1 +20,154,669,1657,13,2101,238,215,38,1 +10,179,3963,5160,36,541,23,50,23,1 +20,179,2811,6184,85,541,229,50,23,1 +20,132,1251,7119,44,1259,262,83,30,1 +20,178,994,2603,44,541,202,338,23,1 +80,13,1250,7054,38,1016,54,313,64,0 +20,11,1331,1309,68,65,381,131,0,1 +6,179,2059,5753,6,541,87,50,23,1 +20,178,3230,3252,44,1384,204,338,23,1 +20,198,2085,7206,44,1800,403,9,23,1 +123,138,459,4393,39,921,342,150,42,1 +20,178,2703,1951,37,1402,393,338,23,1 +67,204,23,530,13,1609,71,319,23,1 +20,278,1177,3768,39,1011,189,180,64,1 +10,32,3738,1547,66,1690,149,210,42,1 +119,37,1996,1888,168,55,182,286,53,1 +50,73,1897,2229,156,1136,326,189,54,1 +7,47,3978,1399,109,15,286,284,42,1 +81,20,4131,2291,166,1608,143,141,60,1 +20,244,4012,3257,85,1758,148,285,8,1 +20,154,2805,2403,37,228,393,215,38,1 +4,179,3902,4789,151,541,294,50,23,1 +25,187,3548,7139,39,296,379,330,28,1 +103,160,132,1346,136,567,263,288,37,1 +20,236,3246,6568,37,1597,68,203,28,1 +20,316,219,3401,14,541,41,50,23,1 +20,254,3763,5963,44,574,357,38,30,1 +20,230,3263,2621,90,1766,311,184,2,1 +103,196,2009,7097,136,2041,382,135,38,1 +79,301,4034,1046,92,90,412,320,49,1 +20,179,2173,4578,13,541,139,50,23,1 +20,154,669,3055,13,2101,238,215,38,1 +20,67,2947,2562,63,1509,126,67,14,1 +107,203,319,6382,98,560,414,42,30,1 +20,198,2025,3428,44,291,0,9,30,1 +116,178,146,3443,75,541,220,338,23,1 +84,73,2983,4636,48,2268,239,189,54,1 +27,47,1217,59,57,15,356,284,42,1 +20,301,1371,2059,85,90,363,320,49,0 +65,196,1754,530,137,799,385,135,38,1 +20,197,2557,5340,37,1956,178,278,58,0 +56,99,736,2229,41,816,124,302,54,1 +20,139,444,530,13,637,75,271,9,1 +27,266,1760,3768,57,650,170,140,51,1 +20,178,3014,5967,44,1384,371,338,23,1 +116,43,1655,1285,75,1281,210,257,30,1 +20,154,4012,6245,85,2083,148,215,38,1 +20,163,3518,5107,44,1865,403,68,30,1 +71,178,2909,5892,110,541,270,338,23,1 +107,37,4111,2419,98,55,438,286,53,1 +20,173,402,5406,63,1925,84,151,58,1 +20,35,1911,509,90,638,190,307,51,1 +20,11,4048,2947,44,278,146,131,0,1 +44,47,2499,5549,108,15,14,284,42,1 +20,70,1612,2233,90,1983,263,201,58,1 +72,335,3475,3768,143,1219,146,311,14,1 +20,59,3238,2799,37,644,370,214,12,1 +120,13,1721,4595,124,26,54,313,64,1 +20,178,1748,2497,14,541,41,338,23,1 +79,105,2058,482,92,1786,107,325,30,1 +122,184,1450,530,167,1904,100,161,10,1 +20,240,3257,416,85,1247,328,109,42,1 +81,154,1636,2280,166,1164,238,215,38,1 +103,83,3985,5568,162,384,298,290,64,1 +60,160,862,579,69,567,369,288,37,0 +119,59,3059,5226,168,828,85,214,12,1 +20,240,3209,4393,68,186,333,109,42,1 +49,47,3352,949,84,15,356,284,42,1 +20,178,3910,3208,44,541,234,338,23,1 +20,174,3234,272,121,1107,124,169,54,1 +119,37,1996,4503,168,55,182,286,53,1 +20,230,4140,6476,44,1766,104,184,2,1 +20,170,3017,1808,44,1115,159,179,2,1 +103,196,4183,7179,136,1164,172,135,38,1 +20,316,947,5385,63,1709,126,119,36,1 +20,101,4106,4223,63,267,186,113,55,1 +20,178,282,861,68,541,381,338,23,1 +80,13,1767,3529,38,1316,54,313,64,1 +20,100,3415,3561,74,916,49,30,33,1 +20,179,2820,4544,85,541,103,50,23,1 +96,138,1734,3402,173,15,243,150,42,1 +89,73,1372,156,33,1879,356,189,38,1 +90,31,3548,2566,163,2132,379,88,28,1 +20,179,1987,4874,37,1402,192,50,23,1 +19,73,2142,482,9,1793,356,189,54,1 +20,230,3551,5,68,805,159,184,2,1 +20,58,1556,6277,74,1598,162,208,8,1 +20,12,1927,446,74,175,267,21,42,1 +20,262,1392,5611,13,637,350,320,9,1 +56,99,1261,921,41,1857,124,302,54,1 +20,179,2208,546,13,541,238,50,23,1 +20,297,2353,3724,68,2292,200,91,23,1 +20,179,1458,6706,44,541,303,50,23,1 +20,179,2219,861,68,541,157,50,23,1 +20,219,2805,1952,37,199,393,133,37,1 +50,47,276,341,156,15,356,284,42,1 +20,178,1748,5637,14,541,41,338,23,1 +43,278,2179,6904,142,655,298,180,64,1 +20,179,2575,6940,44,541,418,50,23,1 +20,200,2212,6180,37,799,393,116,38,1 +20,151,4176,7044,74,1406,56,292,8,1 +20,244,3695,3720,44,1758,140,285,8,1 +55,197,2346,193,70,1286,172,278,58,1 +11,109,2011,3479,8,1358,298,154,64,1 +20,139,3188,5705,44,2113,32,278,58,1 +83,73,630,3944,74,786,326,189,54,1 +56,99,2785,1887,41,816,124,302,54,0 +20,160,3561,5461,44,567,285,288,37,1 +20,178,2353,6655,68,541,200,338,23,1 +20,297,2990,2169,68,541,381,91,23,1 +20,302,1005,7135,68,858,362,35,13,1 +20,27,1739,5382,68,28,186,308,30,1 +20,139,4078,7160,13,637,350,271,9,1 +20,170,4126,3712,44,709,159,179,2,1 +89,47,303,949,5,15,356,284,42,1 +20,178,1373,1169,63,541,396,338,23,1 +20,5,3109,3208,68,726,257,48,40,1 +20,178,2711,3040,37,1402,403,338,23,1 +20,179,3165,4244,37,541,393,50,23,1 +113,310,564,4967,47,1697,364,258,60,1 +20,178,3850,3443,44,541,220,91,23,1 +20,296,4107,1501,85,922,19,172,47,1 +20,79,355,5056,44,2281,144,334,24,1 +43,83,2194,6094,142,384,298,290,64,1 +56,47,3844,921,41,15,124,284,42,0 +20,278,1837,3529,39,654,189,180,64,1 +20,178,2627,3177,37,1402,192,338,23,1 +20,288,498,2845,14,797,295,282,55,1 +55,278,3834,5613,70,772,83,180,64,1 +20,100,2282,658,93,2205,131,30,33,1 +67,315,2699,51,155,394,112,309,23,1 +20,170,2884,4485,44,1294,104,179,2,1 +20,220,796,6982,93,548,315,220,5,1 +7,47,1704,6696,96,15,239,284,42,1 +13,73,1604,1649,152,250,170,189,54,1 +26,47,1900,6436,164,15,239,284,42,1 +20,154,3350,502,101,799,371,215,38,1 +125,73,1747,6393,170,1972,124,189,54,1 +20,203,84,1963,68,390,1,42,30,1 +20,179,3450,4912,14,541,197,50,23,1 +107,163,1040,6789,98,2177,197,68,30,1 +55,197,2346,4157,70,1286,172,278,58,1 +67,179,2326,3360,155,541,144,50,23,1 +20,297,4072,4699,14,1708,295,91,23,1 +20,179,1546,51,93,541,30,50,23,1 +20,178,3939,6270,85,541,177,338,23,1 +20,244,3954,5895,85,1758,99,285,8,1 +10,32,2211,4582,66,15,149,210,42,1 +20,173,3414,7233,13,1223,404,151,58,0 +20,179,2502,924,44,1402,371,50,23,1 +20,16,3565,3768,37,1080,55,66,6,1 +20,178,180,1400,68,1402,8,338,23,1 +20,308,2676,5732,13,600,320,207,12,1 +20,277,3454,2286,63,394,185,52,23,1 +20,172,3019,1983,68,781,58,200,51,0 +20,178,965,6816,85,541,229,338,23,0 +103,179,1078,5318,136,541,407,50,23,1 +20,170,900,206,93,709,159,179,2,1 +103,197,3598,4468,136,1583,32,278,58,1 +20,163,2897,4239,44,255,210,68,30,1 +20,34,3995,5751,93,2174,222,251,49,1 +49,99,1310,1887,13,2089,239,42,54,1 +125,73,3234,272,121,841,124,189,54,1 +20,160,381,1557,14,567,437,288,37,1 +20,272,1527,4317,74,671,56,95,8,1 +40,278,2343,3892,17,299,298,180,64,1 +20,95,2476,1285,39,921,378,146,42,1 +20,179,3647,51,85,1402,177,50,23,1 +0,99,2323,3248,67,1690,356,50,54,0 +20,178,1939,1463,68,541,335,338,23,1 +20,171,3147,4503,63,2054,396,117,55,1 +20,179,3501,129,37,541,304,50,23,1 +122,178,3374,5508,167,541,100,338,23,1 +20,178,3436,6062,93,1384,294,338,23,1 +20,230,3551,5,68,805,254,184,2,1 +20,301,1738,572,37,90,192,320,49,1 +20,178,870,4666,44,1402,57,338,23,1 +20,173,2906,860,44,1583,259,151,58,1 +13,73,1538,6326,152,196,356,189,54,1 +90,31,1104,5226,163,2132,379,85,28,1 +15,99,890,2831,101,1490,124,302,54,1 +103,217,4091,3650,162,2117,328,70,2,1 +73,203,1571,2715,60,1178,406,42,30,1 +20,121,3371,4663,44,198,157,78,13,1 +20,179,3685,51,13,541,75,50,23,1 +20,100,3967,6521,14,235,437,30,33,1 +20,221,1238,2104,74,1758,218,231,8,1 +20,200,669,5324,44,1432,238,116,38,1 +20,132,2124,3351,44,1259,357,83,30,1 +91,178,1529,2238,130,541,177,338,23,1 +89,73,2465,156,32,359,170,189,54,1 +20,297,2528,3567,44,741,256,91,23,1 +20,178,4066,1459,93,1384,22,338,23,1 +20,297,460,354,68,2292,381,91,23,1 +20,68,1874,482,68,125,22,237,30,1 +93,174,2697,3512,133,1462,170,169,54,1 +20,178,3780,987,74,1384,237,187,23,1 +20,215,665,1808,44,355,0,44,30,1 +20,100,953,3028,37,235,119,30,54,0 +20,179,2984,6391,93,541,131,50,23,1 +20,179,3437,4068,14,436,295,50,23,1 +102,313,2739,5559,0,2121,148,178,44,1 +20,274,605,3232,68,2202,186,264,30,1 +20,100,953,3922,37,543,271,30,33,1 +20,179,2376,6786,74,541,256,50,23,1 +74,311,1099,2533,45,1118,124,328,44,1 +20,179,500,51,44,541,371,50,23,1 +20,297,2014,482,13,2292,404,91,23,1 +20,178,192,4663,44,541,371,338,23,1 +20,178,1464,4223,68,541,144,338,23,1 +81,56,1533,2997,166,370,339,121,38,0 +20,178,3014,2984,44,541,371,338,23,1 +43,307,3828,5040,42,667,54,228,64,1 +20,178,3071,2028,68,541,144,338,23,0 +116,165,191,5427,75,850,230,232,53,1 +103,277,1975,5921,136,1715,5,52,23,1 +20,165,2558,4093,68,2202,186,232,53,1 +20,282,3174,2623,68,951,183,245,49,1 +107,165,1301,1808,98,1209,414,232,53,1 +20,282,3800,2245,68,1172,144,245,49,1 +20,118,1467,5179,90,1398,226,301,20,1 +20,86,2579,6094,63,1026,396,219,0,1 +11,236,238,6308,8,1147,79,203,28,1 +20,34,3935,5822,85,39,177,251,49,1 +88,76,448,2413,100,336,170,108,21,0 +20,203,568,1330,44,574,262,42,30,0 +20,178,783,5508,13,541,100,338,23,0 +10,179,2352,114,36,399,204,50,23,1 +20,178,3808,1123,85,1402,177,338,23,1 +20,179,1029,6807,68,541,445,50,23,1 +107,5,2629,6094,98,321,6,48,40,1 +20,272,1029,1543,68,1094,445,95,8,1 +62,99,815,6839,49,1490,124,302,54,1 +20,215,1582,5427,44,807,262,44,30,1 +20,302,1447,3281,44,1640,6,35,13,1 +20,315,11,2559,74,394,56,309,23,1 +20,215,3494,482,44,1975,231,44,30,1 +122,178,3405,1151,72,2063,71,338,23,1 +20,178,3647,5731,85,541,177,338,23,1 +20,231,1371,1507,85,1128,363,51,10,1 +20,132,1039,7119,44,775,210,83,30,1 +73,179,2959,7055,132,541,209,50,23,0 +81,154,1933,4223,166,1164,131,215,38,1 +20,263,2031,4845,93,355,378,171,30,1 +89,216,1913,3610,32,533,58,136,51,1 +20,163,2897,4503,44,255,210,68,30,1 +20,179,3014,2123,44,541,231,50,23,1 +125,99,2788,6083,170,1490,124,302,54,1 +20,178,177,2393,44,541,382,95,23,0 +20,244,1238,2483,74,1758,218,285,8,1 +20,203,2159,6511,44,1245,262,42,30,1 +92,203,2775,5107,65,62,234,42,30,1 +20,178,1424,542,44,541,309,338,23,1 +20,297,2014,312,13,2292,404,91,23,0 +20,178,2289,197,44,1402,158,338,23,1 +20,132,561,828,68,1187,197,83,30,1 +20,178,1559,2606,93,541,306,338,23,1 +20,207,3790,687,85,294,150,272,49,1 +20,178,4030,2670,63,1384,429,338,23,1 +20,240,2600,5749,44,41,207,109,42,0 +80,83,3892,7140,38,1720,83,290,64,1 +20,297,1375,3730,14,1368,327,91,23,1 +20,179,2462,861,37,541,393,50,23,1 +20,178,2289,5732,44,541,158,338,23,1 +20,178,3010,4984,68,1402,186,338,23,1 +20,255,4014,5978,85,1002,328,267,38,1 +125,99,624,795,170,1490,124,302,54,1 +122,277,995,6251,167,511,291,52,23,1 +20,179,2581,4233,37,2055,421,50,23,1 +20,282,2284,4077,74,1844,256,245,49,1 +20,179,3664,3208,14,541,41,50,23,1 +11,187,973,4052,8,296,379,330,28,1 +20,178,2984,1009,93,541,395,338,23,1 +20,11,3703,1879,44,1769,440,131,0,1 +20,297,2694,3105,44,1077,382,91,23,1 +20,303,3565,7104,37,1190,442,243,6,1 +20,178,1733,3208,93,541,306,338,23,1 +20,139,3529,5961,44,637,144,271,9,1 +79,179,4034,1046,92,425,210,50,23,1 +0,175,2760,5513,85,1494,150,310,56,1 +20,301,1066,4276,44,90,348,320,49,1 +20,302,1116,2743,68,1871,445,35,13,1 +81,179,3685,1151,166,541,373,50,23,1 +20,84,3681,3106,44,1766,104,239,2,1 +20,197,3156,7119,68,1869,186,278,58,1 +103,179,3038,5507,136,1264,371,50,23,1 +31,79,1105,924,140,1879,149,189,23,1 +20,255,4014,5592,85,1002,328,267,38,1 +11,236,238,2138,8,1147,79,203,28,1 +20,154,4012,4981,85,1140,148,215,38,1 +20,282,1451,3284,85,90,99,245,49,1 +20,178,1024,4537,44,541,360,338,23,1 +20,154,2163,2364,13,2101,238,215,38,1 +20,297,1082,7004,14,1402,248,91,23,1 +20,277,3501,607,37,394,304,52,23,1 +80,83,906,3010,38,431,83,290,64,1 +20,178,2412,2252,14,541,295,338,23,0 +39,73,3564,6315,154,864,124,189,54,1 +20,150,898,6081,37,1190,118,183,6,1 +20,301,2705,51,14,90,295,320,49,1 +20,179,2659,6511,44,541,220,50,23,1 +20,179,2664,257,74,1402,123,50,23,1 +103,179,2199,51,136,1264,382,50,23,1 +20,179,3459,3774,37,541,421,50,23,1 +107,107,1684,5258,98,1273,221,323,31,1 +20,154,4125,1878,44,799,382,215,38,1 +7,138,3303,2458,109,181,249,150,42,1 +94,335,1497,3145,53,1651,170,311,14,1 +20,100,2282,6853,93,2205,131,30,33,1 +20,204,2806,7015,68,1860,381,319,23,1 +20,297,2030,3721,14,541,367,91,23,0 +20,297,633,5324,13,1202,278,91,23,1 +20,122,962,753,63,394,185,163,23,1 +20,178,2701,612,74,541,263,338,23,1 +20,121,2732,5427,68,858,360,78,13,1 +126,47,2867,1512,91,2089,170,284,42,1 +43,83,3745,4032,142,655,298,290,64,1 +43,307,3747,6904,142,820,298,228,64,1 +20,301,2731,5507,44,90,57,320,49,1 +20,31,2869,4022,37,100,79,85,28,0 +20,230,248,5152,68,805,159,184,2,1 +20,215,1086,5390,68,145,231,44,30,1 +20,179,2558,202,68,541,186,50,23,1 +20,236,3833,425,93,1998,409,203,28,1 +80,187,198,4939,38,296,379,330,28,1 +20,179,3024,2475,68,1402,174,50,23,1 +43,83,2194,4333,142,384,298,290,64,1 +6,58,963,5917,6,1598,318,208,8,1 +20,178,2668,4026,68,541,158,338,23,1 +122,71,3725,4829,167,90,75,50,56,1 +20,200,1918,3885,44,799,371,116,38,1 +20,235,4096,956,13,519,238,229,9,1 +20,179,3645,5761,63,541,84,50,23,1 +20,178,1693,3192,93,573,314,338,23,1 +20,178,2817,51,85,1773,428,338,23,1 +10,179,4134,2264,36,541,204,50,23,1 +67,204,302,224,155,1609,18,319,23,1 +35,32,2454,1547,138,1690,149,210,42,1 +20,163,2531,1967,68,1865,207,68,30,1 +20,291,1134,5427,74,63,361,105,30,1 +20,178,3501,182,37,1384,304,338,23,1 +50,47,1897,6648,156,372,326,284,42,1 +86,313,2026,773,81,274,140,178,44,1 +20,179,1761,4765,68,1402,360,50,23,1 +20,178,941,1078,37,541,393,338,23,1 +20,178,2066,2895,37,541,393,338,23,1 +20,83,1368,2843,39,2195,189,290,64,1 +121,138,3318,6235,27,1007,336,150,42,1 +20,178,2012,333,68,436,183,338,23,1 +20,200,2608,1156,85,799,428,116,38,0 +20,178,1872,5507,63,541,126,338,23,1 +20,27,1236,4765,68,28,26,308,30,1 +20,297,966,6652,13,741,238,91,23,1 +20,297,1053,5111,85,541,428,91,23,1 +20,173,3526,7245,44,1583,196,151,64,1 +20,11,4048,2045,44,278,146,131,0,1 +20,178,2381,7265,68,541,144,338,23,1 +20,207,3790,4041,85,778,150,272,49,1 +20,196,4012,7266,85,1176,148,135,38,0 +20,151,2981,3017,13,482,404,292,8,1 +20,187,120,1103,85,851,116,330,28,0 +20,10,2282,2084,93,493,131,199,24,1 +20,179,3737,4024,13,1402,139,50,23,1 +20,150,1583,4086,37,2308,55,183,6,1 +20,300,424,2138,37,90,275,227,8,1 +20,178,4125,6610,44,541,382,338,23,1 +20,178,1000,5508,13,541,100,338,23,1 +19,99,597,5579,9,2089,239,302,54,1 +20,267,3861,6801,63,314,126,12,36,1 +65,178,1754,5586,13,541,385,338,23,1 +119,43,3973,4787,168,1807,359,257,30,1 +20,178,910,6372,63,541,364,338,23,1 +20,297,633,5226,13,1202,278,91,23,1 +20,165,3001,6453,44,651,210,232,53,0 +81,297,2591,213,166,1368,52,91,23,1 +20,178,457,2140,44,1402,220,338,23,1 +20,297,2612,1490,93,1202,306,91,23,1 +20,277,3518,4851,44,1715,144,52,23,1 +20,301,1687,4664,90,1573,99,320,49,1 +122,302,325,530,72,968,341,35,13,1 +20,302,643,6444,68,858,157,35,13,1 +20,98,1314,5875,14,1728,237,82,50,1 +122,178,3254,1776,72,1745,344,338,23,1 +20,226,2676,5224,13,600,320,188,47,1 +88,99,155,2413,100,2089,356,302,54,1 +81,38,264,2618,166,763,434,22,57,1 +83,99,270,3768,56,1690,356,302,54,1 +20,178,3354,5155,63,541,433,338,23,1 +78,207,1351,840,71,1494,424,272,49,1 +126,41,3979,2229,91,1136,356,164,54,1 +20,178,1424,7010,44,541,309,338,23,0 +81,178,1976,1560,166,541,52,338,23,1 +20,282,3357,5557,13,1068,109,245,49,1 +10,248,2944,4223,36,2205,330,98,10,1 +84,73,655,1991,48,1793,170,189,54,1 +81,179,1742,3655,166,541,52,50,23,1 +20,11,4048,3175,44,278,146,131,0,1 +96,47,3216,1799,23,15,239,284,42,1 +20,178,2776,5753,85,541,229,338,23,1 +43,141,4071,956,142,707,298,128,14,1 +20,245,3693,3624,63,2112,376,283,51,1 +20,263,3715,4485,74,1260,361,171,30,1 +21,257,3549,3554,150,1742,124,124,54,1 +81,306,3026,6094,166,2008,434,41,58,1 +13,47,1861,2242,152,15,239,284,42,1 +20,179,2752,308,85,541,297,50,23,1 +20,179,3015,4223,93,1402,22,50,23,1 +73,208,1505,2623,60,429,425,326,53,1 +56,99,3844,4812,41,816,124,302,54,1 +20,337,2557,2741,37,1355,55,122,6,1 +20,178,1174,1488,14,541,39,338,23,1 +20,300,2109,482,93,1998,409,227,28,1 +16,278,1905,3529,50,325,298,180,64,1 +20,178,2514,3403,63,1402,396,338,23,1 +20,198,285,482,68,2202,186,9,30,1 +20,34,4080,3721,13,2174,75,251,49,1 +20,272,3424,8,85,671,37,95,8,1 +20,179,1147,51,44,1309,285,50,23,1 +20,179,2659,5107,44,541,220,50,23,1 +20,121,3579,5977,13,968,361,78,13,1 +20,178,1167,5085,44,541,371,338,23,1 +20,173,2906,1897,93,313,259,151,58,1 +20,78,1972,6733,13,1896,237,223,50,1 +20,154,3350,898,44,799,371,215,38,1 +20,179,2708,4214,14,541,39,50,23,1 +20,316,441,6094,44,2145,353,119,36,1 +61,73,847,1632,158,739,239,189,54,1 +71,179,528,296,110,541,263,50,23,1 +116,165,2000,3455,75,404,191,232,53,1 +20,178,1146,3766,63,541,433,338,23,1 +40,278,1056,2366,17,1339,298,180,64,1 +107,203,1040,4239,98,227,186,42,30,1 +20,178,3010,3722,68,1402,186,338,23,1 +20,178,3729,1351,14,541,295,338,23,1 +20,197,3025,7119,93,1583,314,278,58,1 +20,94,3028,6444,68,1686,157,76,56,1 +20,277,1470,5063,14,626,5,52,23,1 +20,84,3637,5279,37,84,153,239,2,1 +20,22,2641,146,74,2205,56,192,8,1 +20,198,2758,3378,44,1641,134,9,30,1 +122,315,2617,1642,167,511,291,309,23,1 +20,178,3778,4819,93,541,30,338,23,1 +20,190,1527,4161,74,671,56,1,8,1 +20,170,1804,2881,85,1294,141,179,2,1 +78,207,1351,2476,71,1494,424,272,49,1 +20,165,949,5427,68,368,104,232,53,1 +111,179,2219,5505,68,541,157,50,23,1 +20,248,1881,3968,13,2205,361,98,10,1 +20,302,2650,1978,68,858,360,35,13,0 +20,178,3354,498,63,541,433,338,23,1 +20,178,3850,999,44,1402,220,338,23,1 +20,154,1828,419,74,1470,263,215,38,1 +89,47,1339,5458,5,15,356,284,42,1 +50,31,3233,195,162,2195,275,85,28,1 +20,178,2829,1808,68,23,28,338,23,1 +20,35,1914,2231,90,676,98,307,51,1 +20,198,737,5226,68,291,230,9,30,1 +20,200,2163,1149,13,2101,238,116,38,1 +20,59,967,6904,93,1032,142,214,12,1 +20,215,1086,2618,44,145,231,44,30,1 +20,196,1509,2318,85,2087,148,135,38,1 +20,178,2917,5226,37,541,393,338,23,1 +20,220,796,2993,93,529,315,220,5,1 +6,109,829,3399,6,374,301,154,64,1 +20,154,1898,5612,14,799,327,215,38,1 +20,282,1298,5427,44,1172,270,245,49,1 +88,99,478,2413,100,2089,239,302,54,1 +78,282,409,5323,71,35,424,245,49,1 +20,205,2337,1860,68,1193,445,263,30,1 +107,170,2041,6999,98,1294,9,179,2,1 +67,179,2642,5596,155,541,152,50,23,1 +20,179,1682,5816,85,541,297,50,23,1 +20,179,1677,530,13,541,238,50,23,1 +20,100,1682,7047,93,235,297,30,33,0 +20,178,180,2039,68,541,8,338,23,1 +20,179,2467,51,44,541,220,50,23,1 +122,173,3083,530,72,1783,97,151,58,1 +20,297,2694,7270,44,1077,382,91,23,1 +20,179,1463,3541,14,541,39,50,23,1 +20,179,721,5249,85,541,338,50,23,1 +107,105,2851,4014,98,503,66,325,30,1 +56,99,3844,1887,41,816,124,302,54,0 +20,297,3841,5427,44,1202,220,91,23,1 +20,197,1376,482,44,1354,146,278,58,1 +20,240,3209,6476,68,186,333,109,42,1 +20,282,2480,6094,68,1172,8,245,49,1 +20,179,824,6730,85,541,177,50,23,1 +119,43,3973,5107,168,1807,359,257,30,1 +20,178,2540,5507,93,541,12,338,23,1 +20,170,715,3909,13,709,75,179,2,1 +20,204,2806,7232,68,1860,381,319,23,1 +20,43,3700,4346,44,1281,319,257,30,1 +20,179,2206,4734,37,541,393,50,23,1 +20,178,2387,1123,85,541,305,338,23,1 +20,302,3057,2393,13,968,75,35,13,1 +126,99,3766,5549,91,1690,40,302,54,1 +20,190,2204,4461,37,671,421,1,8,1 +103,56,3580,961,136,2041,393,121,38,1 +20,178,2567,3815,37,1384,391,338,23,0 +20,178,626,5853,13,541,404,338,23,1 +20,84,4020,3595,90,1766,311,239,2,1 +113,59,3955,2448,47,293,370,214,12,1 +20,16,3491,482,37,1190,55,66,6,1 +20,277,1124,7264,13,394,350,52,23,1 +62,272,1545,6321,49,590,310,95,8,1 +78,282,409,4095,71,35,424,245,49,1 +20,179,1886,2104,85,541,338,50,23,1 +80,313,4161,580,38,461,172,178,44,1 +50,174,487,2897,156,1490,356,169,54,1 +67,179,2296,519,155,541,105,50,23,1 +20,178,3987,5142,44,2055,382,338,23,1 +20,121,3739,6094,13,1035,121,78,13,1 +20,282,49,4330,44,1665,144,260,49,1 +20,263,2190,2347,93,355,361,171,30,1 +20,236,3320,1552,93,1998,409,203,28,1 +20,179,3470,2000,74,1402,263,50,23,1 +20,179,2265,2984,44,541,48,50,23,1 +20,297,444,5512,44,541,371,91,23,0 +20,297,2480,4240,68,1751,8,91,23,1 +80,83,906,7054,38,1120,83,290,64,1 +20,192,1522,509,63,1601,35,182,51,1 +83,99,3035,3583,56,1690,326,302,54,1 +20,43,3589,4379,68,1281,445,257,30,1 +20,154,2554,4244,37,799,393,215,38,1 +20,178,590,1134,37,541,192,338,23,1 +20,303,3491,5801,37,1190,55,243,6,1 +20,208,2534,51,68,651,257,326,53,1 +20,100,2792,3028,14,235,132,30,33,1 +116,203,199,236,75,1480,0,42,30,1 +20,282,3928,1808,37,90,391,245,49,1 +20,179,2864,4850,37,541,421,50,23,1 +20,142,1424,284,44,25,309,2,8,1 +20,11,4048,2160,44,278,146,131,0,1 +20,315,3602,1422,63,1715,185,309,23,1 +126,47,2267,6793,91,15,326,284,42,1 +55,240,3406,1073,70,131,379,109,42,1 +122,179,2920,530,167,541,100,50,23,1 +81,20,4131,658,166,1608,143,141,60,1 +20,179,2289,693,44,541,158,50,23,1 +107,30,436,3251,98,1490,6,110,40,0 +10,238,3571,1808,36,651,408,103,30,1 +20,240,2820,5881,85,354,103,109,42,1 +6,179,3444,1825,6,541,369,50,23,1 +20,179,3014,5242,44,541,371,50,23,1 +20,282,3935,5753,85,198,177,245,49,1 +20,178,1062,557,14,541,39,338,23,1 +92,203,2821,5732,65,2156,234,42,30,1 +20,178,3291,1808,68,541,418,338,23,1 +20,197,242,6940,93,911,78,278,58,1 +90,31,3548,5252,163,2132,379,85,28,1 +20,274,3758,5152,68,2202,1,264,30,1 +49,99,3206,285,64,2089,356,302,54,1 +51,200,2241,5806,102,681,301,116,38,1 +20,178,2909,6035,44,541,270,338,23,1 +20,179,1693,1963,93,541,314,50,23,1 +20,179,2294,2164,37,541,271,50,23,1 +89,47,1950,6450,32,15,356,284,42,1 +56,99,1261,1127,41,816,124,302,54,0 +77,178,388,2901,83,717,114,338,23,1 +20,297,138,6094,63,1368,433,91,23,1 +20,297,1939,6149,68,379,335,91,23,1 +14,105,2028,1285,89,1786,107,325,30,1 +20,178,2917,2844,37,541,393,338,23,1 +20,179,3165,7207,37,541,393,50,23,1 +20,58,2683,2555,85,484,293,208,8,1 +24,224,4103,6249,52,1229,149,234,42,1 +20,204,1642,3749,37,541,177,319,23,1 +20,68,3188,861,44,1547,32,237,30,1 +20,64,3789,6999,68,1294,159,187,2,1 +92,67,2215,6469,65,961,361,67,14,0 +20,178,2387,51,85,541,305,338,23,1 +20,150,1833,5821,37,1190,194,183,6,1 +20,301,2650,6816,68,90,360,320,49,1 +20,297,966,260,13,741,238,91,23,1 +20,88,3883,2194,63,845,126,166,55,1 +20,302,1944,3378,37,858,236,35,13,1 +62,325,1618,4410,49,1689,58,218,51,1 +50,73,3457,2897,156,864,170,189,54,1 +67,179,1796,1151,155,541,366,50,23,1 +125,73,3340,2311,170,1972,124,189,54,1 +20,190,2204,7226,37,671,421,1,8,1 +20,179,2575,861,44,541,418,50,23,1 +20,262,11,2565,74,637,56,126,9,1 +14,99,1841,7262,117,1490,124,302,54,1 +20,301,3928,7142,37,90,391,320,49,1 +126,99,1018,1562,91,1690,356,302,54,1 +20,139,419,4584,63,637,306,271,9,0 +20,263,3446,1879,13,527,378,171,30,0 +20,317,3450,5891,14,2301,367,148,23,1 +63,163,3261,5224,30,1865,107,68,30,1 +20,178,2558,1980,68,541,186,338,23,1 +60,160,862,51,69,567,369,288,37,1 +20,154,2979,5113,14,799,41,215,38,1 +20,282,3126,6832,68,1172,411,245,49,1 +20,240,2683,4393,85,665,293,109,42,1 +20,295,454,6697,90,2114,390,206,1,1 +20,178,2558,4093,68,541,186,338,23,1 +20,25,396,252,37,1065,124,157,54,1 +89,99,303,2229,5,2089,356,302,54,1 +20,240,1243,2876,172,354,76,109,42,1 +20,230,1892,3278,44,2205,159,184,2,1 +28,178,1605,4223,104,541,117,338,23,1 +81,200,456,6982,166,1164,238,116,38,1 +103,150,2912,5114,162,1859,442,183,6,1 +90,83,3161,2758,119,384,298,290,64,1 +20,179,2129,6617,93,541,314,50,23,1 +20,285,2954,4223,63,314,84,55,36,1 +126,47,2267,5549,91,541,326,284,42,1 +20,62,3093,4403,68,186,333,295,23,1 +20,297,2664,5738,74,541,123,91,23,1 +103,83,1910,5040,162,384,83,290,64,1 +20,261,1468,3858,93,1846,409,10,65,1 +20,301,3743,5226,68,90,411,320,49,1 +20,297,3723,955,85,541,290,91,23,1 +88,138,1753,586,100,1342,176,150,42,1 +73,163,562,947,60,1865,425,68,30,1 +20,178,2145,6880,74,1402,263,338,23,1 +20,178,1525,482,44,541,112,338,23,1 +20,178,2860,5753,85,541,229,338,23,1 +116,43,141,4050,75,1281,94,257,30,1 +20,179,1866,3517,74,541,256,50,23,1 +20,238,1236,7119,68,2202,230,103,30,1 +116,215,585,5406,75,1178,325,44,30,1 +20,179,3319,4078,13,1402,219,50,23,1 +20,208,2224,5390,44,651,43,326,53,1 +20,179,1449,51,13,541,320,50,23,1 +89,257,4001,5712,5,1742,396,124,54,1 +103,206,1641,3010,162,303,298,287,64,1 +20,297,3561,6820,44,541,23,91,23,1 +20,35,1911,2863,90,638,190,307,51,1 +20,178,2837,5385,37,332,192,338,23,1 +20,219,2204,6502,37,1899,421,133,37,1 +20,52,3509,6094,74,198,267,294,13,1 +81,262,2915,2320,166,637,238,126,9,1 +88,325,94,614,100,164,58,218,51,1 +20,179,2129,2894,93,1309,314,50,23,1 +20,178,192,6740,44,1920,371,87,8,1 +20,203,2547,90,93,574,268,42,30,0 +20,178,4160,134,68,1402,174,338,23,1 +20,282,466,2879,74,323,263,245,49,1 +4,111,185,509,151,1229,307,281,51,0 +20,179,397,4376,68,1402,8,50,23,1 +111,73,299,3186,116,2070,149,189,54,1 +73,313,1163,4649,60,2121,172,178,44,1 +51,150,591,1825,102,1254,299,91,23,1 +20,154,4125,1951,44,799,382,215,38,1 +103,196,2161,3650,136,799,328,135,38,1 +122,297,328,6283,167,462,75,91,23,1 +35,261,2391,194,138,83,124,10,65,1 +20,178,2622,4609,74,541,123,338,23,1 +49,47,3442,6513,64,15,239,284,42,1 +103,179,3331,5242,136,541,382,50,23,1 +55,31,433,4091,70,29,379,85,28,1 +20,303,3565,866,37,1190,55,243,6,1 +20,263,2240,2347,74,1864,361,171,30,1 +20,179,2987,360,13,541,12,50,23,1 +44,31,1670,11,108,1793,356,189,54,1 +116,43,141,7119,75,1281,94,257,30,1 +20,300,424,3208,37,90,79,227,28,1 +20,312,4154,3208,13,50,121,142,36,1 +10,25,1652,3875,36,528,275,157,65,1 +73,61,3767,3171,60,771,412,298,22,1 +86,47,3110,6513,81,15,356,284,42,1 +20,302,171,696,63,1294,433,35,13,1 +103,261,1652,1358,162,1422,275,10,65,1 +20,179,2130,6036,14,541,367,50,23,1 +103,83,3400,6904,162,384,298,290,64,1 +103,101,405,7062,136,1419,199,50,23,1 +20,178,2990,5985,68,541,381,338,23,1 +81,262,2591,4803,166,637,52,126,9,1 +20,179,3191,6816,44,541,173,50,23,1 +20,34,3937,5764,63,369,429,251,49,1 +20,297,3285,7106,13,541,365,91,23,1 +20,150,1583,800,37,2308,55,183,6,1 +20,194,1725,260,44,1829,41,13,24,1 +33,163,3840,6511,82,918,8,68,30,1 +122,178,2526,5508,167,541,100,338,23,1 +75,262,4078,2599,13,637,350,126,9,1 +20,179,870,1526,44,541,57,50,23,1 +20,62,3415,675,74,1766,49,295,23,1 +96,99,1045,1799,23,2089,356,302,54,1 +10,179,3963,51,36,541,23,271,23,1 +20,35,3464,2079,90,156,190,307,51,0 +122,94,461,2393,167,46,75,76,56,1 +20,154,3350,5046,44,799,371,215,38,1 +20,272,1283,51,85,671,177,95,8,1 +20,221,3695,3720,44,1758,309,231,8,1 +78,99,265,4285,71,1145,149,302,54,1 +125,99,4026,3092,130,1490,124,302,54,1 +20,178,1319,4008,93,541,385,338,23,0 +23,240,2684,1123,157,1117,148,109,42,1 +20,301,1371,2310,85,90,363,320,49,0 +20,178,1601,4432,74,541,256,338,23,1 +20,297,3736,975,74,541,256,91,23,1 +20,179,3282,6424,68,1402,158,50,23,1 +61,138,3824,383,158,620,397,150,42,1 +20,12,3415,2573,74,175,267,21,42,1 +20,230,3864,6429,13,805,254,184,2,1 +10,32,1702,6380,66,1690,149,210,42,1 +20,135,2003,1009,13,2216,100,52,23,0 +20,179,916,3774,37,1402,421,50,23,1 +125,73,3306,4966,170,1972,124,189,54,1 +33,39,1361,6872,82,2265,75,167,17,1 +20,215,3806,482,44,858,0,44,30,1 +27,138,1749,5251,57,1066,399,150,42,1 +20,173,75,5746,44,1521,440,151,58,1 +20,179,4124,5055,74,541,256,50,23,1 +20,58,2949,2101,13,1468,64,208,8,0 +20,151,4176,3011,74,1406,56,292,8,1 +67,66,1032,5732,155,340,434,97,57,1 +20,178,1296,5717,44,541,371,338,23,1 +20,170,888,705,90,174,226,179,2,1 +20,297,3242,5226,93,541,229,91,23,1 +20,263,2031,5275,93,355,378,171,30,1 +20,282,1298,482,44,90,270,245,49,1 +103,179,1078,5181,136,541,407,50,23,1 +20,121,3908,6610,85,198,290,78,13,1 +51,321,2329,6705,102,1998,301,129,28,1 +20,261,1468,2639,93,1065,251,10,65,1 +20,140,2031,2542,93,1085,378,49,30,1 +20,297,1337,5204,93,731,177,91,23,1 +20,179,1408,4246,37,541,108,50,23,1 +73,189,610,1897,132,97,308,191,16,1 +20,297,1014,6094,68,1202,144,91,23,1 +81,262,3298,761,27,637,52,126,9,1 +20,173,3188,828,44,1519,32,151,58,1 +86,99,3984,5134,81,1704,14,302,54,1 +20,240,936,6305,68,354,53,109,42,1 +20,245,1355,6469,85,1943,35,283,51,0 +107,166,1501,1222,98,818,130,107,42,0 +20,138,2145,3187,74,921,263,150,42,1 +20,179,3808,3179,85,541,177,50,23,1 +20,178,3358,937,14,1384,327,338,23,1 +20,163,84,4239,68,1865,1,68,30,1 +74,73,1099,3627,45,1690,170,189,54,1 +39,174,3564,376,154,841,124,169,54,1 +20,282,3863,6094,13,90,120,245,49,1 +110,311,2418,94,120,47,140,328,44,1 +47,197,3323,1113,78,846,310,278,58,0 +73,205,1487,7218,60,1069,406,263,30,1 +88,99,988,2413,100,2089,356,302,54,1 +78,224,1075,6772,71,1229,149,234,42,1 +20,228,1337,5316,85,489,177,37,23,1 +105,154,3130,6128,39,521,301,215,38,1 +20,303,3565,25,37,1190,55,243,6,1 +20,244,1238,51,74,1758,218,285,8,1 +20,178,1388,530,13,190,75,338,23,1 +126,47,621,3944,91,2089,40,284,42,1 +80,83,906,5613,38,431,83,290,64,1 +1,47,2183,6839,160,1550,149,284,42,1 +113,310,564,7000,47,1697,364,258,60,1 +89,73,990,3627,33,1648,170,189,54,1 +56,99,1261,6310,41,816,124,302,54,1 +20,178,1934,861,13,541,206,338,23,0 +20,163,2766,6816,44,1865,403,68,30,1 +99,191,3228,6816,12,2081,412,120,40,1 +11,236,238,5232,8,1147,79,203,28,1 +47,99,2717,2229,78,1490,124,302,54,1 +20,160,1508,1649,85,567,428,288,37,1 +20,179,2219,1340,68,541,157,50,23,1 +20,272,2204,644,37,786,421,95,8,1 +57,277,1752,6015,25,462,109,205,52,1 +20,143,3466,1484,37,1040,304,84,60,1 +20,277,168,1151,13,2216,71,52,23,1 +20,297,3191,4540,44,1368,82,91,23,1 +20,293,1951,3460,13,1897,80,14,30,1 +20,179,2106,2865,13,541,279,50,23,0 +20,170,888,5507,90,174,226,179,2,1 +20,86,3271,4568,63,1026,433,219,0,1 +81,315,2915,530,166,394,238,309,23,1 +20,173,3050,1092,37,1583,393,151,58,1 +20,215,561,6511,44,145,231,44,30,1 +20,64,1229,1060,37,1294,153,187,2,1 +20,282,278,2866,85,198,229,245,49,1 +91,154,1998,700,130,799,177,215,38,1 +20,282,2209,119,68,1369,366,245,49,1 +20,293,615,482,44,1865,134,14,30,1 +78,301,1351,1429,71,166,424,320,49,1 +20,219,1537,2649,74,567,91,133,37,1 +80,278,2089,2876,38,1974,298,180,64,1 +74,325,1503,6021,45,745,58,218,51,0 +20,160,419,4393,93,2127,306,109,42,1 +110,47,3069,3380,120,15,14,91,42,1 +67,179,1148,6631,155,541,144,50,23,1 +20,178,444,2984,44,541,371,338,23,1 +103,139,1347,942,136,637,343,271,9,1 +20,282,3230,5787,44,1172,381,245,49,1 +20,178,1948,6119,14,12,295,338,23,1 +20,179,633,6503,13,541,346,50,23,1 +103,276,3099,7074,136,212,441,8,2,1 +20,240,3474,5343,44,354,231,109,42,1 +20,297,1337,4106,85,731,177,91,23,1 +125,99,606,1612,170,1490,124,302,54,1 +55,310,1707,3565,70,692,436,258,60,1 +20,211,917,4860,85,819,328,235,2,1 +20,179,2683,5519,85,1077,293,50,23,0 +20,204,3023,3490,37,1609,393,319,23,1 +20,132,1346,6308,68,1187,197,83,30,1 +20,78,3163,2393,13,2278,237,223,50,1 +91,278,2791,3565,130,325,83,180,64,0 +20,190,1640,5895,85,671,318,1,8,1 +103,83,2242,3922,162,384,83,290,64,1 +20,178,342,4073,14,541,295,338,23,1 +20,184,3595,3428,68,1002,186,161,10,1 +81,97,1085,3492,166,2253,246,209,22,1 +20,204,961,2912,85,979,293,319,23,1 +20,231,1005,1808,68,1934,362,51,10,1 +96,99,3972,4986,23,292,239,302,54,1 +39,99,12,1926,154,1490,124,302,54,1 +67,179,810,1403,131,541,421,50,23,0 +113,200,442,2522,47,1589,393,116,38,1 +43,83,3745,3529,74,655,298,290,64,1 +43,109,2103,7142,142,654,298,154,64,1 +20,282,629,5916,37,1172,391,245,49,1 +122,228,1807,2393,72,962,75,37,23,1 +20,215,1086,106,68,145,231,44,30,1 +20,86,2732,6816,68,422,360,219,0,1 +20,129,3512,1879,37,348,125,23,30,1 +89,99,983,6252,32,2089,239,302,54,1 +20,27,1236,5152,68,28,230,308,30,1 +20,62,2193,7117,74,2301,49,295,23,1 +125,99,2671,4207,170,1490,124,302,54,1 +20,297,639,4872,68,541,381,91,23,1 +20,84,2564,482,90,8,311,239,2,1 +20,154,2829,437,68,799,28,215,38,1 +20,215,550,6743,68,1706,400,44,30,1 +20,163,2932,5107,44,1379,210,68,30,1 +20,179,3800,1273,68,541,144,50,23,1 +126,99,277,482,91,1490,14,302,54,1 +20,190,1741,3567,85,409,297,338,8,1 +20,190,963,4216,85,275,99,1,8,1 +20,200,669,3846,13,1432,238,116,38,1 +122,301,1335,3558,72,90,97,189,49,1 +89,73,136,2132,33,149,58,189,54,0 +20,178,2772,6810,68,2055,144,338,23,1 +20,297,2480,6447,68,1751,8,91,23,1 +20,190,1077,2777,85,671,322,1,8,1 +98,206,2018,6094,130,1712,298,287,64,1 +20,179,2208,1161,13,541,238,50,23,1 +20,78,3683,6626,74,1013,237,223,50,1 +122,192,1959,530,72,2280,240,182,51,1 +103,109,229,6904,162,654,298,154,64,1 +20,199,1467,1274,37,2161,153,318,20,1 +78,133,1351,4249,71,166,424,300,11,1 +20,219,1537,2059,74,567,91,133,37,0 +20,35,6,509,63,2279,245,307,51,1 +20,297,1181,7024,44,1202,285,91,23,1 +20,297,3850,2079,44,541,220,91,23,1 +56,99,2569,4812,41,816,124,302,54,1 +20,297,1883,1808,85,2292,368,91,23,1 +20,178,118,1808,68,541,366,338,23,1 +56,99,4015,1632,41,816,124,302,54,0 +10,179,1577,51,36,1402,192,50,23,1 +67,179,2054,3208,155,1264,144,50,38,1 +73,231,2252,5568,132,822,234,51,10,1 +56,99,3991,6310,41,1167,124,302,54,1 +20,230,2295,5023,90,3,226,184,2,1 +101,276,698,6093,105,59,124,8,2,1 +20,139,2687,1151,13,637,238,271,9,1 +20,178,2390,6013,44,541,360,338,23,1 +20,138,2300,4393,90,443,226,150,42,1 +73,124,1874,2926,60,1817,22,58,30,1 +20,178,3729,4068,134,541,295,338,23,1 +20,293,1951,722,13,1897,80,14,30,1 +20,219,3350,6665,44,607,381,133,37,1 +20,297,2170,6825,93,541,435,338,23,0 +20,297,492,4223,63,541,167,91,23,1 +20,139,2687,5385,13,637,278,271,9,1 +20,179,2668,3617,44,541,158,50,23,1 +92,67,2215,530,65,961,361,67,14,1 +10,178,3963,51,36,541,23,338,23,1 +20,235,2687,5385,13,637,346,229,9,1 +103,95,1382,3981,136,921,328,146,42,0 +20,34,3525,6653,68,1992,411,237,49,1 +20,178,2480,6290,68,541,8,338,23,1 +67,179,2642,6784,155,541,152,50,23,0 +10,178,1577,1073,36,1402,192,338,23,1 +49,99,1507,6513,84,2089,239,302,54,1 +122,178,279,5508,167,541,100,338,23,1 +67,179,1681,572,155,541,105,50,23,1 +88,47,3440,2413,100,15,239,284,9,1 +52,47,986,6380,40,15,149,284,42,1 +103,276,3822,3355,136,212,328,8,2,1 +9,32,587,5187,10,15,149,210,42,1 +20,121,2650,6816,68,198,360,78,13,1 +103,217,3822,3650,136,114,328,70,2,1 +20,178,1319,6919,93,1384,385,338,23,1 +20,178,339,2806,44,541,303,338,23,1 +20,316,22,2823,37,1709,393,119,36,1 +10,179,3301,5872,36,541,204,50,23,1 +20,129,2660,1808,63,1666,440,23,30,1 +20,215,2917,5610,37,1402,393,338,23,1 +20,240,2818,5938,74,1637,56,109,42,1 +20,178,907,4032,93,541,12,338,23,1 +20,52,450,1151,93,522,131,294,13,1 +98,206,2018,3639,130,1712,298,287,64,1 +25,187,3672,4503,39,1669,379,330,28,1 +20,337,1092,5040,44,2078,6,122,6,1 +20,297,460,5634,68,2292,170,91,23,1 +20,10,2357,6196,44,91,6,199,24,1 +20,317,112,3741,74,2293,91,148,23,1 +20,154,2294,875,37,799,271,215,38,1 +20,178,2365,5172,93,541,294,338,23,0 +20,302,2633,6811,44,1871,210,35,13,1 +26,47,1900,156,164,15,239,284,42,1 +20,178,1514,1151,13,541,109,338,23,1 +126,174,1544,1725,91,841,239,169,54,1 +20,301,4014,5978,85,90,328,320,49,1 +20,178,1083,4263,44,541,144,338,23,1 +20,317,3450,2536,14,2301,367,148,23,1 +54,99,3055,3768,74,1259,124,302,54,1 +81,178,1369,4456,93,541,170,338,23,1 +20,182,4118,6013,74,21,56,238,33,1 +88,138,1753,2529,100,1342,176,150,42,1 +20,315,275,5507,63,394,185,309,23,1 +56,47,1289,921,41,816,124,284,42,1 +6,190,1898,4557,6,409,327,1,8,1 +21,32,4171,6380,150,15,149,210,42,1 +20,240,866,1963,44,354,438,109,42,1 +20,84,1229,1060,37,1766,153,239,2,1 +51,179,591,2052,102,2199,369,50,23,1 +20,52,230,6305,44,386,134,294,13,1 +81,315,2955,6357,166,673,52,309,23,1 +122,178,2920,1151,167,541,100,338,23,1 +20,179,526,7240,14,651,340,50,23,1 +20,179,316,3383,93,541,272,50,23,1 +20,197,1980,5935,93,252,76,278,58,1 +20,302,3506,199,74,198,227,35,13,1 +20,179,2612,5507,93,541,306,50,23,1 +55,278,3145,7140,70,2150,54,180,64,0 +20,230,101,206,37,1766,153,184,2,1 +20,132,1251,4276,44,1259,262,83,30,1 diff --git a/tasks/dctabeval-aeac-pooled-cat-statistics/tests/intermediate.sh b/tasks/dctabeval-aeac-pooled-cat-statistics/tests/intermediate.sh new file mode 100644 index 0000000000000000000000000000000000000000..4bebd67e90f1a84e7f8be4118fb8d91ad91b983f --- /dev/null +++ b/tasks/dctabeval-aeac-pooled-cat-statistics/tests/intermediate.sh @@ -0,0 +1,51 @@ +#!/bin/bash +set -u + +PY=/usr/local/bin/python3 + +mkdir -p /logs/verifier +chown root:root /logs/verifier 2>/dev/null || true +chmod 755 /logs/verifier 2>/dev/null || true +rm -f /logs/verifier/reward.txt /logs/verifier/ctrf.json /logs/verifier/metric.json + +reward_fallback() { + if [ ! -s /logs/verifier/reward.txt ]; then + mkdir -p /logs/verifier + printf '0\n' > /logs/verifier/reward.txt + fi +} +trap reward_fallback EXIT + +chmod -R go-rwx /tests + +export GRADE_SPLIT=intermediate + +cd /tests +"$PY" -m pytest --ctrf /logs/verifier/ctrf.json /tests/test_state.py -rA \ + > /logs/verifier/intermediate_pytest.log 2>&1 +"$PY" /tests/compute_reward.py >> /logs/verifier/intermediate_pytest.log 2>&1 + +"$PY" - <<'PY' +import json +from pathlib import Path + +try: + r = json.loads(Path("/logs/verifier/metric.json").read_text()) +except Exception as exc: + print(f"evaluation did not complete: {type(exc).__name__}") + raise SystemExit(0) + +print("evaluation of /app/output/solution.py") +if not r.get("valid"): + print(f" deliverable unusable: {r.get('invalid_reason')}") + raise SystemExit(0) +print(f" seeds scored : {r['seeds_ok']} / {len(r['seeds'])}") +print(f" seeds that failed to score : {r['seeds_failed']}") +print(f" mean ROC-AUC over the panel: {r['metric']:.4f}") +if r["seeds_failed"]: + kinds = sorted({str(d.get("status", "")).split(":")[0] + for d in r.get("failure_detail", [])}) + print(f" failure kinds : {', '.join(k for k in kinds if k)}") +PY + +exit 0 diff --git a/tasks/dctabeval-aeac-pooled-cat-statistics/tests/requirements-verifier.txt b/tasks/dctabeval-aeac-pooled-cat-statistics/tests/requirements-verifier.txt new file mode 100644 index 0000000000000000000000000000000000000000..437e615c3fd068a62f8c321c58dc95f0b1da19fc --- /dev/null +++ b/tasks/dctabeval-aeac-pooled-cat-statistics/tests/requirements-verifier.txt @@ -0,0 +1,4 @@ +iniconfig==2.1.0 +pluggy==1.6.0 +pytest==8.3.5 +pytest-json-ctrf==0.3.5 diff --git a/tasks/dctabeval-aeac-pooled-cat-statistics/tests/requirements.txt b/tasks/dctabeval-aeac-pooled-cat-statistics/tests/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..e1ea870ad284ef6b36b64f7ca23230a3fc8afc76 --- /dev/null +++ b/tasks/dctabeval-aeac-pooled-cat-statistics/tests/requirements.txt @@ -0,0 +1,23 @@ +catboost==1.2.8 +contourpy==1.3.3 +cycler==0.12.1 +fonttools==4.63.0 +graphviz==0.21 +joblib==1.5.3 +kiwisolver==1.5.0 +lightgbm==4.6.0 +matplotlib==3.11.1 +narwhals==2.24.0 +numpy==2.3.4 +packaging==26.3 +pandas==2.3.3 +pillow==12.3.0 +plotly==6.9.0 +pyparsing==3.3.2 +python-dateutil==2.9.0.post0 +pytz==2026.3.post1 +scikit-learn==1.7.2 +scipy==1.16.2 +six==1.17.0 +threadpoolctl==3.6.0 +tzdata==2026.3 diff --git a/tasks/dctabeval-aeac-pooled-cat-statistics/tests/runner.py b/tasks/dctabeval-aeac-pooled-cat-statistics/tests/runner.py new file mode 100644 index 0000000000000000000000000000000000000000..4fd8d0f6a100014631c257dd76fa5d0507787e29 --- /dev/null +++ b/tasks/dctabeval-aeac-pooled-cat-statistics/tests/runner.py @@ -0,0 +1,33 @@ +import sys +from pathlib import Path + +import numpy as np +import pandas as pd + + +def main() -> int: + in_path, out_path, solution_dir = sys.argv[1], sys.argv[2], sys.argv[3] + + with np.load(in_path, allow_pickle=False) as z: + columns = [str(c) for c in z["columns"]] + train_X = pd.DataFrame(z["train_X"], columns=columns) + train_y = z["train_y"] + pool_X = pd.DataFrame(z["pool_X"], columns=columns) + eval_X = pd.DataFrame(z["eval_X"], columns=columns) + seed = int(z["seed"]) + + sys.path.insert(0, solution_dir) + import solution + + scores = solution.fit_predict(train_X, train_y, pool_X, eval_X, seed) + + arr = np.asarray(scores) + if arr.dtype == object: + raise TypeError(f"fit_predict returned a non-numeric object array: {arr.dtype}") + np.save(out_path, arr, allow_pickle=False) + Path(out_path).chmod(0o644) + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/tasks/dctabeval-aeac-pooled-cat-statistics/tests/test.sh b/tasks/dctabeval-aeac-pooled-cat-statistics/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..b1aa4ad1cfb142baa3de7be7cadd67a651ace553 --- /dev/null +++ b/tasks/dctabeval-aeac-pooled-cat-statistics/tests/test.sh @@ -0,0 +1,28 @@ +#!/bin/bash +set -u + +PY=/usr/local/bin/python3 + +mkdir -p /logs/verifier +chown root:root /logs/verifier 2>/dev/null || true +chmod 755 /logs/verifier 2>/dev/null || true +rm -f /logs/verifier/reward.txt /logs/verifier/ctrf.json /logs/verifier/metric.json + +reward_fallback() { + if [ ! -s /logs/verifier/reward.txt ]; then + mkdir -p /logs/verifier + printf '0\n' > /logs/verifier/reward.txt + echo "reward=0 (trap fallback: grader exited without writing a reward)" + fi +} +trap reward_fallback EXIT + +chmod -R go-rwx /tests + +export GRADE_SPLIT=final + +cd /tests +"$PY" -m pytest --ctrf /logs/verifier/ctrf.json /tests/test_state.py -rA +"$PY" /tests/compute_reward.py + +exit 0 diff --git a/tasks/dctabeval-aeac-pooled-cat-statistics/tests/test_state.py b/tasks/dctabeval-aeac-pooled-cat-statistics/tests/test_state.py new file mode 100644 index 0000000000000000000000000000000000000000..cf33f7f02763b8ec4bad381e031881db53f58764 --- /dev/null +++ b/tasks/dctabeval-aeac-pooled-cat-statistics/tests/test_state.py @@ -0,0 +1,224 @@ +import json +import os +import shutil +import signal +import subprocess +import sys +import time +from pathlib import Path + +sys.path.insert(0, str(Path(__file__).resolve().parent)) + +import grader_core + +CHILD_PATH = "/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" + + +def _agent_uid_gid() -> tuple[int, int]: + import pwd + + rec = pwd.getpwnam("agent") + return rec.pw_uid, rec.pw_gid + + +def _reap_agent_processes() -> None: + """Backstop: SIGKILL anything still running as uid `agent`. + + ``setsid`` may put the grandchild in a session of its own, so a process-group kill + on the direct child is not by itself sufficient. Implemented against /proc rather + than ``pkill`` so it has no package dependency. + """ + uid, _ = _agent_uid_gid() + for entry in Path("/proc").iterdir(): + if not entry.name.isdigit(): + continue + try: + status = (entry / "status").read_text() + except OSError: + continue + for line in status.splitlines(): + if line.startswith("Uid:"): + if int(line.split()[1]) == uid: + try: + os.kill(int(entry.name), signal.SIGKILL) + except OSError: + pass + break + + +def _run_one_seed(stage: Path, inputs: dict, seed: int, timeout: float) -> dict: + """Execute the submission for one seed, then score its output array.""" + uid, gid = _agent_uid_gid() + work = grader_core.WORK_DIR + if work.exists(): + shutil.rmtree(work) + work.mkdir(parents=True) + os.chmod(work, 0o755) + + scratch = work / "scratch" + scratch.mkdir() + os.chown(scratch, uid, gid) + os.chmod(scratch, 0o700) + + runner = work / "runner.py" + shutil.copyfile(grader_core.RUNNER, runner) + os.chmod(runner, 0o644) + + in_path = work / "inputs.npz" + grader_core.write_inputs(in_path, inputs, seed) + os.chmod(in_path, 0o644) + out_path = scratch / "scores.npy" + + env = { + "PATH": CHILD_PATH, + "HOME": str(scratch), + "TMPDIR": str(scratch), + "OMP_NUM_THREADS": "8", + "MKL_NUM_THREADS": "8", + "OPENBLAS_NUM_THREADS": "8", + "NUMEXPR_NUM_THREADS": "8", + "PYTHONHASHSEED": "0", + "PYTHONDONTWRITEBYTECODE": "1", + "HF_HUB_OFFLINE": "1", + "TRANSFORMERS_OFFLINE": "1", + } + cmd = [ + "setsid", + "--wait", + "runuser", + "-u", + "agent", + "--", + sys.executable, + "-I", + str(runner), + str(in_path), + str(out_path), + str(stage), + ] + + rec: dict = {"seed": seed} + log = work / "child.log" + t0 = time.monotonic() + with open(log, "wb") as sink: + proc = subprocess.Popen( + cmd, + cwd=str(scratch), + env=env, + stdin=subprocess.DEVNULL, + stdout=sink, + stderr=subprocess.STDOUT, + start_new_session=True, + ) + try: + proc.communicate(timeout=timeout) + timed_out = False + except subprocess.TimeoutExpired: + timed_out = True + try: + os.killpg(os.getpgid(proc.pid), signal.SIGKILL) + except (ProcessLookupError, PermissionError): + pass + _reap_agent_processes() + try: + proc.communicate(timeout=30) + except subprocess.TimeoutExpired: + proc.kill() + proc.communicate() + rec["elapsed_sec"] = round(time.monotonic() - t0, 2) + tail = log.read_bytes()[-grader_core.STDERR_TAIL_BYTES :].decode("utf-8", "replace") + rec["stderr_tail"] = tail + + if timed_out: + rec.update(status="timeout", auc=grader_core.FAILED_SEED_AUC) + return rec + if proc.returncode != 0: + rec.update(status=f"nonzero_exit:{proc.returncode}", + auc=grader_core.FAILED_SEED_AUC) + return rec + + status, auc = grader_core.score_output(out_path, inputs["eval_y"]) + rec.update(status=status, auc=auc) + return rec + + +def _grade() -> dict: + """Grade the submission over this half's pinned panel. Never raises.""" + try: + stage, info = grader_core.stage_deliverable() + except grader_core.DeliverableError as exc: + return grader_core.invalid_result(str(exc)) + except Exception as exc: + return grader_core.invalid_result(f"staging failed: {type(exc).__name__}: {exc}") + + tables = grader_core.load_half() + records: list[dict] = [] + spent = 0.0 + for seed in grader_core.SEEDS: + remaining = grader_core.TOTAL_BUDGET_SEC - spent + if remaining <= 1.0: + records.append( + { + "seed": seed, + "status": "total_budget_exhausted", + "auc": grader_core.FAILED_SEED_AUC, + "elapsed_sec": 0.0, + } + ) + continue + inputs = grader_core.build_panel_inputs(tables, seed) + rec = _run_one_seed( + stage, inputs, seed, timeout=min(grader_core.SEED_TIMEOUT_SEC, remaining) + ) + spent += float(rec.get("elapsed_sec", 0.0)) + records.append(rec) + _reap_agent_processes() + return grader_core.aggregate(records, info) + + +RESULT = _grade() +grader_core.write_metric(RESULT) + + +def test_metric_json_written(): + """The metric channel exists and carries a float reward, whatever happened. + + This is what lets every downstream path -- including the invalid one -- resolve to + a number rather than to a missing file. + """ + path = grader_core.LOGS_DIR / "metric.json" + assert path.is_file(), "metric.json was not written" + payload = json.loads(path.read_text()) + assert isinstance(payload.get("reward"), float) + + +def test_deliverable_is_usable(): + """/app/output/solution.py exists and is non-empty, the deliverable tree is inside + the 131072-byte limit and contains no symlink or hard link, and at least one panel + seed produced a usable score array. + + instruction.md states the entry-point path, the byte limit and the link + prohibition, so every branch here is disclosed. + """ + assert RESULT["valid"], RESULT.get("invalid_reason", "deliverable unusable") + + +def test_every_seed_returned_a_scoreable_array(): + """All 12 pinned seeds returned a finite numeric array of shape (5000,) within the + 100 s per-seed wall-clock cap. + + A failing seed is not fatal -- instruction.md states it contributes 0.5 ROC-AUC to + the panel mean -- so this reports rather than gates. + """ + assert RESULT["seeds_failed"] == 0, RESULT["failure_detail"] + + +def test_metric_and_reward_are_in_range(): + """The panel-mean ROC-AUC is in [0, 1]; the reward is in [0, 1] and is exactly 0 + whenever the metric fails to beat the trivial-baseline anchor.""" + m = RESULT["metric"] + assert m is not None and 0.0 <= m <= 1.0, m + r = RESULT["reward"] + assert 0.0 <= r <= 1.0, r + if m <= grader_core.M0: + assert r == 0.0 diff --git a/tasks/hicard-latent-encoder/tests/candidate_runner.py b/tasks/hicard-latent-encoder/tests/candidate_runner.py new file mode 100644 index 0000000000000000000000000000000000000000..52773a3541f244ad1931eb04df3c0e46622cc5f0 --- /dev/null +++ b/tasks/hicard-latent-encoder/tests/candidate_runner.py @@ -0,0 +1,48 @@ +from __future__ import annotations + +import importlib.util +import sys +from pathlib import Path + +import numpy as np + +ENTRY_POINT = "encoder.py" +ENTRY_CLASS = "Encoder" + + +def main() -> int: + cand_dir, inputs_path, out_path = sys.argv[1], sys.argv[2], sys.argv[3] + + with np.load(inputs_path, allow_pickle=False) as z: + X_train = z["X_train"].astype(np.float64) + G_train = z["G_train"].astype(np.int64) + X_test = z["X_test"].astype(np.float64) + G_test = z["G_test"].astype(np.int64) + n_categories = int(z["n_categories"]) + max_width = int(z["max_width"]) + + entry = Path(cand_dir) / ENTRY_POINT + sys.path.insert(0, str(cand_dir)) + spec = importlib.util.spec_from_file_location("submitted_encoder", entry) + if spec is None or spec.loader is None: + raise ImportError(f"cannot load {entry}") + module = importlib.util.module_from_spec(spec) + sys.modules["submitted_encoder"] = module + spec.loader.exec_module(module) + + encoder_cls = getattr(module, ENTRY_CLASS) + encoder = encoder_cls(n_categories, max_width) + encoder.fit(X_train, G_train) + E_train = encoder.transform(X_train, G_train) + E_test = encoder.transform(X_test, G_test) + + for label, E in (("E_tr", E_train), ("E_te", E_test)): + if not isinstance(E, np.ndarray): + raise TypeError(f"{label}: transform returned {type(E).__name__}, not numpy.ndarray") + + np.savez(out_path, E_tr=E_train, E_te=E_test) + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/tasks/mlh-coco-16bit-hash-head-map5000/environment/Dockerfile b/tasks/mlh-coco-16bit-hash-head-map5000/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..ff14129da5612d8f6e50375ee367ef5b7b952d74 --- /dev/null +++ b/tasks/mlh-coco-16bit-hash-head-map5000/environment/Dockerfile @@ -0,0 +1,43 @@ +FROM --platform=linux/amd64 public.ecr.aws/docker/library/python:3.13-slim-bookworm@sha256:01f42367a0a94ad4bc17111776fd66e3500c1d87c15bbd6055b7371d39c124fb + +RUN set -eu; \ + if [ ! -s /etc/ssl/certs/ca-certificates.crt ]; then \ + apt-get update && apt-get install -y --no-install-recommends ca-certificates=20230311+deb12u1; \ + fi; \ + rm -f /tmp/hz-prereq.list; \ + echo 'deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] https://snapshot.debian.org/archive/debian/20260801T000000Z bookworm main' >> /tmp/hz-prereq.list; \ + echo 'deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] https://snapshot.debian.org/archive/debian-security/20260801T000000Z bookworm-security main' >> /tmp/hz-prereq.list; \ + apt-get -o Dir::Etc::sourcelist=/tmp/hz-prereq.list -o Dir::Etc::sourceparts=/dev/null -o Acquire::Check-Valid-Until=false update; \ + apt-get -o Dir::Etc::sourcelist=/tmp/hz-prereq.list -o Dir::Etc::sourceparts=/dev/null -o Acquire::Check-Valid-Until=false install -y --no-install-recommends tmux=3.3a-3 asciinema=2.2.0-1; \ + rm -f /tmp/hz-prereq.list; rm -rf /var/lib/apt/lists/* + + +ENTRYPOINT [] +ENV DEBIAN_FRONTEND=noninteractive \ + PYTHONHASHSEED=0 \ + PIP_NO_CACHE_DIR=1 \ + PIP_DISABLE_PIP_VERSION_CHECK=1 \ + OMP_NUM_THREADS=8 \ + HF_HUB_OFFLINE=1 \ + TRANSFORMERS_OFFLINE=1 + +RUN apt-get update \ + && apt-get install -y --no-install-recommends git=1:2.39.5-0+deb12u3 \ + && git config --system user.email "agent@localhost" \ + && git config --system user.name "autoresearch agent" \ + && rm -rf /var/lib/apt/lists/* + +RUN useradd --create-home --uid 1001 agent + +COPY ./requirements.txt /tmp/requirements.txt +RUN /usr/local/bin/python3 -m pip install --no-cache-dir -r /tmp/requirements.txt \ + && rm /tmp/requirements.txt + +WORKDIR /app +COPY ./app /app + +RUN mkdir -p /app/output \ + && chown -R agent:agent /app \ + && find /app -exec touch -d @1700000000 {} + + +USER agent diff --git a/tasks/mlh-coco-16bit-hash-head-map5000/environment/requirements.txt b/tasks/mlh-coco-16bit-hash-head-map5000/environment/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..6294a416fc0edbf7b80b6b9b9cb7cbf73a395448 --- /dev/null +++ b/tasks/mlh-coco-16bit-hash-head-map5000/environment/requirements.txt @@ -0,0 +1,16 @@ +--extra-index-url https://download.pytorch.org/whl/cpu +numpy==2.5.2 +scipy==1.18.0 +scikit-learn==1.9.0 +torch==2.13.0+cpu +filelock==3.32.2 +fsspec==2026.4.0 +jinja2==3.1.6 +joblib==1.5.3 +markupsafe==3.0.3 +mpmath==1.3.0 +networkx==3.6.1 +setuptools==78.1.0 +sympy==1.14.0 +threadpoolctl==3.6.0 +typing-extensions==4.15.0 diff --git a/tasks/mlh-coco-16bit-hash-head-map5000/hints/hint.md b/tasks/mlh-coco-16bit-hash-head-map5000/hints/hint.md new file mode 100644 index 0000000000000000000000000000000000000000..ea22e18543708ceab81758e0c577bb6b9b249292 --- /dev/null +++ b/tasks/mlh-coco-16bit-hash-head-map5000/hints/hint.md @@ -0,0 +1 @@ +Train against a differentiable average-precision surrogate over the Hamming histogram, restricted to the metric's truncation window, with decorrelation, bit-balance and quantisation penalties so all sixteen bits carry signal. Learn a continuous embedding then a rotation before taking signs, and blend a k-nearest-neighbour vote over training codes with the parametric head. encode must be a pure per-row function - permutation equivariance and batch independence are both checked. diff --git a/tasks/mlh-coco-16bit-hash-head-map5000/tests/Dockerfile b/tasks/mlh-coco-16bit-hash-head-map5000/tests/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..ac2db52aaf1ac1bab5fe08079ef04b14b8c08741 --- /dev/null +++ b/tasks/mlh-coco-16bit-hash-head-map5000/tests/Dockerfile @@ -0,0 +1,33 @@ +FROM --platform=linux/amd64 public.ecr.aws/docker/library/python:3.13-slim-bookworm@sha256:01f42367a0a94ad4bc17111776fd66e3500c1d87c15bbd6055b7371d39c124fb + +ENTRYPOINT [] +ENV PYTHONPATH= +ENV PYTHONSAFEPATH=1 +ENV DEBIAN_FRONTEND=noninteractive \ + PYTHONHASHSEED=0 \ + PIP_NO_CACHE_DIR=1 \ + PIP_DISABLE_PIP_VERSION_CHECK=1 \ + OMP_NUM_THREADS=8 \ + MKL_NUM_THREADS=8 \ + OPENBLAS_NUM_THREADS=8 \ + HF_HUB_OFFLINE=1 \ + TRANSFORMERS_OFFLINE=1 + +RUN useradd --create-home --uid 1001 agent + +COPY ./requirements.txt /tmp/requirements.txt +COPY ./requirements-verifier.txt /tmp/requirements-verifier.txt +RUN /usr/local/bin/python3 -m pip install --no-cache-dir \ + -r /tmp/requirements.txt -r /tmp/requirements-verifier.txt \ + && rm /tmp/requirements.txt /tmp/requirements-verifier.txt + +RUN mkdir -p /app/output /logs/verifier + +COPY . /tests + +RUN chown -R root:root /tests \ + && chmod -R 700 /tests/hidden_data /tests/hidden_data/intermediate /tests/hidden_data/final \ + && chmod +x /tests/test.sh /tests/intermediate.sh \ + && find /tests -exec touch -d @1700000000 {} + + +WORKDIR /tests diff --git a/tasks/mlh-coco-16bit-hash-head-map5000/tests/compute_reward.py b/tasks/mlh-coco-16bit-hash-head-map5000/tests/compute_reward.py new file mode 100644 index 0000000000000000000000000000000000000000..54501469dc5d13d792fb0b43fb9c9875e26c9f7d --- /dev/null +++ b/tasks/mlh-coco-16bit-hash-head-map5000/tests/compute_reward.py @@ -0,0 +1,17 @@ +import json +import math +from pathlib import Path + +REWARD_PATH = Path("/logs/verifier/reward.txt") + +try: + REWARD_PATH.parent.mkdir(parents=True, exist_ok=True) + value = float(json.loads(Path("/logs/verifier/metric.json").read_text())["reward"]) + if not math.isfinite(value): + raise ValueError("non-finite reward") + reward = f"{min(1.0, max(0.0, value)):.12g}" + REWARD_PATH.write_text(reward + "\n") + print(f"reward={reward}") +except Exception as exc: + REWARD_PATH.write_text("0\n") + print(f"reward=0 (fallback: {exc})") diff --git a/tasks/mlh-coco-16bit-hash-head-map5000/tests/grader_core.py b/tasks/mlh-coco-16bit-hash-head-map5000/tests/grader_core.py new file mode 100644 index 0000000000000000000000000000000000000000..ae71cb349b73a23b9e2143cb6aeba3f67bcb8792 --- /dev/null +++ b/tasks/mlh-coco-16bit-hash-head-map5000/tests/grader_core.py @@ -0,0 +1,79 @@ +import numpy as np + +CODE_BITS = 16 +TOP_K = 5000 +QUERY_CHUNK = 250 + +M0 = 0.435 +BASELINE_SCORE = 0.7903 + + +class InvalidSubmission(Exception): + """The deliverable produced nothing gradeable. Routes to reward exactly 0.""" + + +def validate_codes(array, n_rows, what): + """Enforce the code contract stated in instruction.md: an (n_rows, 16) int8 array whose + every element is -1 or +1. Anything else is an invalid submission, not a low score.""" + if not isinstance(array, np.ndarray): + raise InvalidSubmission(f"{what}: not an array") + if array.shape != (n_rows, CODE_BITS): + raise InvalidSubmission(f"{what}: shape {array.shape}, expected {(n_rows, CODE_BITS)}") + if array.dtype != np.int8: + raise InvalidSubmission(f"{what}: dtype {array.dtype}, expected int8") + bad = np.setdiff1d(np.unique(array), np.array([-1, 1], dtype=np.int8)) + if bad.size: + raise InvalidSubmission(f"{what}: values outside {{-1, +1}}: {bad[:4].tolist()}") + return array + + +def map_at_k(query_codes, db_codes, query_labels, db_labels, top_k=TOP_K): + """mAP@top_k. Returns (mAP, diagnostics).""" + q = query_codes.astype(np.float32) + d = db_codes.astype(np.float32) + ql = query_labels.astype(np.float32) + dl = db_labels.astype(np.float32) + n_q, n_db = q.shape[0], d.shape[0] + k = min(top_k, n_db) + ranks = np.arange(1, k + 1, dtype=np.float64) + + aps = np.empty(n_q, dtype=np.float64) + rel_frac = np.empty(n_q, dtype=np.float64) + for start in range(0, n_q, QUERY_CHUNK): + stop = min(start + QUERY_CHUNK, n_q) + dist = ((CODE_BITS - q[start:stop] @ d.T) / 2).astype(np.int16) + relevant = (ql[start:stop] @ dl.T) > 0 + order = np.argsort(dist, axis=1, kind="stable")[:, :k] + rel = np.take_along_axis(relevant, order, axis=1) + hits = np.cumsum(rel, axis=1, dtype=np.float64) + total = hits[:, -1] + prec = hits / ranks + with np.errstate(invalid="ignore", divide="ignore"): + ap = np.where(total > 0, (prec * rel).sum(axis=1) / np.maximum(total, 1.0), 0.0) + aps[start:stop] = ap + rel_frac[start:stop] = relevant.mean(axis=1) + + diagnostics = { + "n_query": int(n_q), + "n_database": int(n_db), + "top_k": int(k), + "ap_mean": float(aps.mean()), + "ap_median": float(np.median(aps)), + "ap_p10": float(np.quantile(aps, 0.10)), + "ap_p90": float(np.quantile(aps, 0.90)), + "query_relevant_fraction_mean": float(rel_frac.mean()), + "distinct_query_codes": int(np.unique(query_codes, axis=0).shape[0]), + "distinct_db_codes": int(np.unique(db_codes, axis=0).shape[0]), + "db_bit_imbalance_max": float(np.abs(db_codes.astype(np.float64).mean(axis=0)).max()), + } + return float(aps.mean()), diagnostics + + +def graded_reward(metric, valid=True): + """rational_squash, monotone in the metric, no cutoff, bounded in [0, 1).""" + if not valid or metric is None or not np.isfinite(metric): + return 0.0 + x_ref = BASELINE_SCORE - M0 + assert x_ref > 0, "malformed task: the reference result does not beat the trivial baseline" + u = max(0.0, float(metric) - M0) / x_ref + return u / (1.0 + u) diff --git a/tasks/mlh-coco-16bit-hash-head-map5000/tests/intermediate.sh b/tasks/mlh-coco-16bit-hash-head-map5000/tests/intermediate.sh new file mode 100644 index 0000000000000000000000000000000000000000..82f155885b445e06846a4a5761a2fed8527a77c7 --- /dev/null +++ b/tasks/mlh-coco-16bit-hash-head-map5000/tests/intermediate.sh @@ -0,0 +1,21 @@ +#!/bin/bash +set -u + +PY=/usr/local/bin/python3 + +mkdir -p /logs/verifier +chown root:root /logs/verifier 2>/dev/null || true +chmod 755 /logs/verifier 2>/dev/null || true +rm -f /logs/verifier/reward.txt /logs/verifier/ctrf.json /logs/verifier/metric.json + +reward_floor() { [ -s /logs/verifier/reward.txt ] || echo 0 > /logs/verifier/reward.txt; } +trap reward_floor EXIT + +chmod -R go-rwx /tests + +cd /tests +export GRADE_SPLIT=intermediate +"$PY" -m pytest --ctrf /logs/verifier/ctrf.json /tests/test_state.py -rA +"$PY" /tests/compute_reward.py > /logs/verifier/intermediate_reward.log 2>&1 + +exit 0 diff --git a/tasks/mlh-coco-16bit-hash-head-map5000/tests/requirements-verifier.txt b/tasks/mlh-coco-16bit-hash-head-map5000/tests/requirements-verifier.txt new file mode 100644 index 0000000000000000000000000000000000000000..04676c89520bf969f2cb861ad1811f46d8370700 --- /dev/null +++ b/tasks/mlh-coco-16bit-hash-head-map5000/tests/requirements-verifier.txt @@ -0,0 +1,2 @@ +pytest==8.3.5 +pytest-json-ctrf==0.3.5 diff --git a/tasks/mlh-coco-16bit-hash-head-map5000/tests/requirements.txt b/tasks/mlh-coco-16bit-hash-head-map5000/tests/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..6294a416fc0edbf7b80b6b9b9cb7cbf73a395448 --- /dev/null +++ b/tasks/mlh-coco-16bit-hash-head-map5000/tests/requirements.txt @@ -0,0 +1,16 @@ +--extra-index-url https://download.pytorch.org/whl/cpu +numpy==2.5.2 +scipy==1.18.0 +scikit-learn==1.9.0 +torch==2.13.0+cpu +filelock==3.32.2 +fsspec==2026.4.0 +jinja2==3.1.6 +joblib==1.5.3 +markupsafe==3.0.3 +mpmath==1.3.0 +networkx==3.6.1 +setuptools==78.1.0 +sympy==1.14.0 +threadpoolctl==3.6.0 +typing-extensions==4.15.0 diff --git a/tasks/mlh-coco-16bit-hash-head-map5000/tests/runner.py b/tasks/mlh-coco-16bit-hash-head-map5000/tests/runner.py new file mode 100644 index 0000000000000000000000000000000000000000..50ce89f194c6e3af402e8dcca379c746554b81ad --- /dev/null +++ b/tasks/mlh-coco-16bit-hash-head-map5000/tests/runner.py @@ -0,0 +1,47 @@ +import importlib +import json +import os +import sys +import time +import traceback +from pathlib import Path + +import numpy as np +import torch + +SANDBOX = Path(__file__).resolve().parent +TRAIN_SEED = 0 +EVAL_NAMES = ("a", "b", "c") + + +def main(): + status = {"ok": False, "error": None, "seconds": {}} + try: + torch.set_num_threads(int(os.environ["OMP_NUM_THREADS"])) + sys.path.append(str(SANDBOX / "code")) + model = importlib.import_module("hash_model") + + train_features = np.load(SANDBOX / "inputs" / "train_features.npy") + train_labels = np.load(SANDBOX / "inputs" / "train_labels.npy") + + t0 = time.monotonic() + state = model.train(train_features, train_labels, TRAIN_SEED) + status["seconds"]["train"] = time.monotonic() - t0 + + for name in EVAL_NAMES: + features = np.load(SANDBOX / "inputs" / f"eval_{name}.npy") + t0 = time.monotonic() + codes = model.encode(state, features) + status["seconds"][f"encode_{name}"] = time.monotonic() - t0 + np.save(SANDBOX / "out" / f"codes_{name}.npy", np.asarray(codes)) + + status["ok"] = True + except BaseException as exc: + status["error"] = f"{type(exc).__name__}: {exc}"[:600] + traceback.print_exc() + finally: + (SANDBOX / "out" / "status.json").write_text(json.dumps(status)) + + +if __name__ == "__main__": + main() diff --git a/tasks/mlh-coco-16bit-hash-head-map5000/tests/test.sh b/tasks/mlh-coco-16bit-hash-head-map5000/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..dfa4dcef3b7194a79dfee3b923accd9d1441ea84 --- /dev/null +++ b/tasks/mlh-coco-16bit-hash-head-map5000/tests/test.sh @@ -0,0 +1,21 @@ +#!/bin/bash +set -u + +PY=/usr/local/bin/python3 + +mkdir -p /logs/verifier +chown root:root /logs/verifier 2>/dev/null || true +chmod 755 /logs/verifier 2>/dev/null || true +rm -f /logs/verifier/reward.txt /logs/verifier/ctrf.json /logs/verifier/metric.json + +reward_floor() { [ -s /logs/verifier/reward.txt ] || echo 0 > /logs/verifier/reward.txt; } +trap reward_floor EXIT + +chmod -R go-rwx /tests + +cd /tests +export GRADE_SPLIT=final +"$PY" -m pytest --ctrf /logs/verifier/ctrf.json /tests/test_state.py -rA +"$PY" /tests/compute_reward.py + +exit 0 diff --git a/tasks/mlh-coco-16bit-hash-head-map5000/tests/test_state.py b/tasks/mlh-coco-16bit-hash-head-map5000/tests/test_state.py new file mode 100644 index 0000000000000000000000000000000000000000..001787698a28119b15c224b360515b189312b61a --- /dev/null +++ b/tasks/mlh-coco-16bit-hash-head-map5000/tests/test_state.py @@ -0,0 +1,284 @@ +import json +import os +import shutil +import subprocess +import sys +import tempfile +from pathlib import Path + +import numpy as np + +sys.path.insert(0, str(Path(__file__).resolve().parent)) + +import grader_core +from grader_core import InvalidSubmission, graded_reward, map_at_k, validate_codes + +TESTS = Path(__file__).resolve().parent +HIDDEN = TESTS / "hidden_data" +DELIVERABLE = Path("/app/output") +ENTRY_NAME = "hash_model.py" +METRIC_PATH = Path("/logs/verifier/metric.json") + +RUN_BUDGET_SEC = 1200 +DELIVERABLE_MAX_BYTES = 1024**3 +N_DB_SHARDS = 3 +PERMUTATION_SEED = 4242 +AGENT_UID = AGENT_GID = 1001 +PY = "/usr/local/bin/python3" +GRADE_SPLIT = os.environ.get("GRADE_SPLIT", "final") + +_RESULT = {} + + +def _sealed_split(): + query_features = np.load(HIDDEN / GRADE_SPLIT / "query_features.npy") + query_labels = np.load(HIDDEN / GRADE_SPLIT / "query_labels.npy") + db_features = np.concatenate( + [np.load(HIDDEN / "database" / f"db_features_{k}.npy") for k in range(N_DB_SHARDS)], + axis=0, + ) + db_labels = np.load(HIDDEN / "database" / "db_labels.npy") + train_features = np.load(HIDDEN / "train" / "train_features.npy") + train_labels = np.load(HIDDEN / "train" / "train_labels.npy") + return query_features, query_labels, db_features, db_labels, train_features, train_labels + + +def _copy_deliverable(source, target): + """Copy regular files only. Symlinks are dropped rather than followed, so a link aimed + at the verifier tree can never be dereferenced by this root process.""" + if not source.is_dir(): + raise InvalidSubmission(f"{source} does not exist") + target.mkdir(parents=True) + total = 0 + for path in sorted(source.rglob("*")): + relative = path.relative_to(source) + if path.is_symlink(): + continue + if path.is_dir(): + (target / relative).mkdir(parents=True, exist_ok=True) + elif path.is_file(): + total += path.stat().st_size + if total > DELIVERABLE_MAX_BYTES: + raise InvalidSubmission("deliverable exceeds 1 GiB") + shutil.copyfile(path, target / relative) + entry = target / ENTRY_NAME + if not entry.is_file(): + raise InvalidSubmission(f"no {ENTRY_NAME} in {source}") + if entry.stat().st_size == 0: + raise InvalidSubmission(f"{ENTRY_NAME} is empty") + return total + + +def _own(path, uid, mode_dir, mode_file): + for current, _dirs, files in os.walk(path): + os.chown(current, uid, uid) + os.chmod(current, mode_dir) + for name in files: + os.chown(os.path.join(current, name), uid, uid) + os.chmod(os.path.join(current, name), mode_file) + + +def _build_sandbox(inputs): + sandbox = Path(tempfile.mkdtemp(prefix="grade_", dir="/tmp")) + os.chmod(sandbox, 0o711) + size = _copy_deliverable(DELIVERABLE, sandbox / "code") + (sandbox / "inputs").mkdir() + (sandbox / "out").mkdir() + for name, array in inputs.items(): + np.save(sandbox / "inputs" / f"{name}.npy", array) + os.chmod(sandbox / "inputs", 0o755) + for path in (sandbox / "inputs").iterdir(): + os.chmod(path, 0o444) + shutil.copyfile(TESTS / "runner.py", sandbox / "runner.py") + os.chmod(sandbox / "runner.py", 0o444) + _own(sandbox / "code", AGENT_UID, 0o700, 0o600) + _own(sandbox / "out", AGENT_UID, 0o700, 0o600) + return sandbox, size + + +def _reap_agent_processes(): + """Kill anything still running as the agent uid, including a process that escaped its + group by starting its own session.""" + for entry in Path("/proc").iterdir(): + if not entry.name.isdigit(): + continue + try: + if entry.stat().st_uid == AGENT_UID: + os.kill(int(entry.name), 9) + except (ProcessLookupError, PermissionError, FileNotFoundError): + pass + + +def _execute(sandbox): + runuser = shutil.which("runuser") or "/usr/sbin/runuser" + env_bin = shutil.which("env") or "/usr/bin/env" + timeout_bin = shutil.which("timeout") or "/usr/bin/timeout" + child_env = { + "PATH": "/usr/local/bin:/usr/bin:/bin", + "HOME": str(sandbox / "code"), + "TMPDIR": str(sandbox / "out"), + "PYTHONSAFEPATH": "1", + "PYTHONHASHSEED": "0", + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "8", + "MKL_NUM_THREADS": "8", + "OPENBLAS_NUM_THREADS": "8", + "HF_HUB_OFFLINE": "1", + "TRANSFORMERS_OFFLINE": "1", + } + command = [ + runuser, "-u", "agent", "--", + env_bin, "-i", *[f"{k}={v}" for k, v in child_env.items()], + timeout_bin, "-s", "KILL", str(RUN_BUDGET_SEC), + PY, str(sandbox / "runner.py"), + ] + process = subprocess.Popen( + command, + cwd=str(sandbox / "out"), + env={"PATH": "/usr/local/bin:/usr/bin:/bin"}, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE, + start_new_session=True, + text=True, + errors="replace", + ) + timed_out = False + try: + stdout, stderr = process.communicate(timeout=RUN_BUDGET_SEC + 120) + except subprocess.TimeoutExpired: + timed_out = True + try: + os.killpg(os.getpgid(process.pid), 9) + except (ProcessLookupError, PermissionError): + pass + try: + stdout, stderr = process.communicate(timeout=60) + except subprocess.TimeoutExpired: + stdout, stderr = "", "" + finally: + _reap_agent_processes() + return process.returncode, timed_out, stdout or "", stderr or "" + + +def _load_codes(path, n_rows, what): + if not path.is_file(): + raise InvalidSubmission(f"{what}: no codes written") + try: + array = np.load(path, allow_pickle=False) + except Exception as exc: + raise InvalidSubmission(f"{what}: unreadable array ({type(exc).__name__})") from exc + return validate_codes(array, n_rows, what) + + +def graded_run(): + if _RESULT: + return _RESULT + + record = { + "half": GRADE_SPLIT, + "metric_name": "mAP@5000", + "metric": None, + "reward": 0.0, + "valid": False, + "error": None, + "executed": False, + "timed_out": False, + "returncode": None, + "contract_ok": False, + "permutation_equivariant": False, + "deliverable_bytes": None, + "run_seconds": None, + "diagnostics": None, + } + sandbox = None + try: + query, query_labels, db, db_labels, train, train_labels = _sealed_split() + permutation = np.random.default_rng(PERMUTATION_SEED).permutation(len(query)) + sandbox, record["deliverable_bytes"] = _build_sandbox( + { + "train_features": train, + "train_labels": train_labels, + "eval_a": query, + "eval_b": db, + "eval_c": query[permutation], + } + ) + code, timed_out, stdout, stderr = _execute(sandbox) + record["returncode"], record["timed_out"] = code, timed_out + if stderr.strip(): + print("--- deliverable stderr (tail) ---") + print(stderr.strip()[-2000:]) + if timed_out or code == 137: + raise InvalidSubmission(f"run exceeded the {RUN_BUDGET_SEC}s budget") + + status_path = sandbox / "out" / "status.json" + if not status_path.is_file(): + raise InvalidSubmission(f"run produced no status (exit {code})") + status = json.loads(status_path.read_text()) + record["executed"] = True + record["run_seconds"] = status.get("seconds") + if not status.get("ok"): + raise InvalidSubmission(status.get("error") or f"run failed (exit {code})") + + codes_query = _load_codes(sandbox / "out" / "codes_a.npy", len(query), "query codes") + codes_db = _load_codes(sandbox / "out" / "codes_b.npy", len(db), "database codes") + codes_perm = _load_codes( + sandbox / "out" / "codes_c.npy", len(query), "permuted query codes" + ) + record["contract_ok"] = True + if not np.array_equal(codes_perm, codes_query[permutation]): + raise InvalidSubmission("encode is not permutation-equivariant") + record["permutation_equivariant"] = True + + metric, diagnostics = map_at_k(codes_query, codes_db, query_labels, db_labels) + record.update( + metric=float(metric), + diagnostics=diagnostics, + valid=True, + reward=float(graded_reward(metric, valid=True)), + ) + except InvalidSubmission as exc: + record["error"] = f"invalid submission: {exc}" + except Exception as exc: + record["error"] = f"grader error: {type(exc).__name__}: {exc}" + finally: + if sandbox is not None: + shutil.rmtree(sandbox, ignore_errors=True) + + METRIC_PATH.parent.mkdir(parents=True, exist_ok=True) + METRIC_PATH.write_text(json.dumps(record, indent=2, sort_keys=True) + "\n") + print(f"half={record['half']} metric[mAP@5000]={record['metric']} valid={record['valid']}") + if record["diagnostics"]: + print("diagnostics=" + json.dumps(record["diagnostics"], sort_keys=True)) + if record["error"]: + print("error=" + record["error"]) + _RESULT.update(record) + return _RESULT + + +def test_entry_point_executes(): + """/app/output/hash_model.py exists, imports, and completes train + encode inside the + disclosed wall-clock budget.""" + result = graded_run() + assert result["executed"], result["error"] + assert not result["timed_out"], result["error"] + + +def test_code_contract(): + """Every encode call returns an (M, 16) int8 array whose values are all -1 or +1.""" + result = graded_run() + assert result["contract_ok"], result["error"] + + +def test_permutation_equivariance(): + """Codes are a function of the rows, not of their order: encode(X[P]) == encode(X)[P].""" + result = graded_run() + assert result["permutation_equivariant"], result["error"] + + +def test_metric_recorded(): + """The scorer derived mAP@5000 from sealed labels and recorded a reward in [0, 1].""" + result = graded_run() + assert METRIC_PATH.is_file() + assert 0.0 <= result["reward"] <= 1.0 + assert result["valid"], result["error"] diff --git a/tasks/sketched-newton-cov-estimator/environment/Dockerfile b/tasks/sketched-newton-cov-estimator/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..cd26e73efed06076c78099c4a477b1cab7811d7b --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/environment/Dockerfile @@ -0,0 +1,40 @@ +FROM --platform=linux/amd64 public.ecr.aws/docker/library/python:3.13-slim-bookworm@sha256:01f42367a0a94ad4bc17111776fd66e3500c1d87c15bbd6055b7371d39c124fb + +RUN set -eu; \ + if [ ! -s /etc/ssl/certs/ca-certificates.crt ]; then \ + apt-get update && apt-get install -y --no-install-recommends ca-certificates=20230311+deb12u1; \ + fi; \ + rm -f /tmp/hz-prereq.list; \ + echo 'deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] https://snapshot.debian.org/archive/debian/20260801T000000Z bookworm main' >> /tmp/hz-prereq.list; \ + echo 'deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] https://snapshot.debian.org/archive/debian-security/20260801T000000Z bookworm-security main' >> /tmp/hz-prereq.list; \ + apt-get -o Dir::Etc::sourcelist=/tmp/hz-prereq.list -o Dir::Etc::sourceparts=/dev/null -o Acquire::Check-Valid-Until=false update; \ + apt-get -o Dir::Etc::sourcelist=/tmp/hz-prereq.list -o Dir::Etc::sourceparts=/dev/null -o Acquire::Check-Valid-Until=false install -y --no-install-recommends tmux=3.3a-3 asciinema=2.2.0-1 git=1:2.39.5-0+deb12u3; \ + rm -f /tmp/hz-prereq.list; rm -rf /var/lib/apt/lists/* + + +ENTRYPOINT [] +ENV DEBIAN_FRONTEND=noninteractive \ + PYTHONHASHSEED=0 \ + PIP_NO_CACHE_DIR=1 \ + PIP_DISABLE_PIP_VERSION_CHECK=1 \ + OMP_NUM_THREADS=1 \ + OPENBLAS_NUM_THREADS=1 \ + MKL_NUM_THREADS=1 + +RUN git config --system user.email "agent@localhost" \ + && git config --system user.name "autoresearch agent" + +RUN useradd --create-home --uid 1001 agent + +COPY ./requirements.txt /tmp/requirements.txt +RUN /usr/local/bin/python3 -m pip install --no-cache-dir -r /tmp/requirements.txt \ + && rm /tmp/requirements.txt + +WORKDIR /app +COPY ./app /app + +RUN mkdir -p /app/output \ + && chown -R agent:agent /app \ + && find /app -exec touch -d @1700000000 {} + + +USER agent diff --git a/tasks/sketched-newton-cov-estimator/environment/app/harness/dev/inst_0.json b/tasks/sketched-newton-cov-estimator/environment/app/harness/dev/inst_0.json new file mode 100644 index 0000000000000000000000000000000000000000..289560e0e7bf2c600ac4e4476a7b40ce2e5b7c0c --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/environment/app/harness/dev/inst_0.json @@ -0,0 +1,31 @@ +{ + "name": "dev0", + "d": 20, + "T": 300000, + "tau": 40, + "equi_r": 0.248457, + "sigma": 0.506115, + "x_star": [ + -0.019372853919, + 0.009268796612, + -0.021251173754, + 0.033762391924, + -0.02335471216, + 0.059689208988, + -0.005984085636, + 0.046417778128, + -0.102661084309, + 0.032679997168, + 0.071765298238, + -0.034955658275, + -0.020276951681, + 0.007988695621, + -0.0442565907, + 0.077401068127, + 0.113605209189, + 0.00294430134, + 0.033875662452, + -0.034383893025 + ], + "seed_base": 449947255 +} diff --git a/tasks/sketched-newton-cov-estimator/environment/app/harness/dev/inst_1.json b/tasks/sketched-newton-cov-estimator/environment/app/harness/dev/inst_1.json new file mode 100644 index 0000000000000000000000000000000000000000..28b296b5727c5e15c19a97f182d9a410bf242923 --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/environment/app/harness/dev/inst_1.json @@ -0,0 +1,31 @@ +{ + "name": "dev1", + "d": 20, + "T": 300000, + "tau": 20, + "equi_r": 0.130476, + "sigma": 1.467142, + "x_star": [ + 0.03206851226, + 0.102203337459, + 0.052110668129, + 0.062791689633, + -0.024763848314, + 0.01678673303, + -0.007639500139, + 0.091482313953, + 0.033488147121, + 0.045969297977, + 0.073717682753, + -0.054718056932, + 0.027573240509, + -0.013881487683, + -0.016427308773, + 0.046123308524, + -0.005247929862, + -0.063682545515, + -0.034913533445, + -0.047224989076 + ], + "seed_base": 631277841 +} diff --git a/tasks/sketched-newton-cov-estimator/environment/app/harness/runner.py b/tasks/sketched-newton-cov-estimator/environment/app/harness/runner.py new file mode 100644 index 0000000000000000000000000000000000000000..2584efc2c41bed308c340ef6aaabc15d12b9590e --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/environment/app/harness/runner.py @@ -0,0 +1,116 @@ +import numpy as np +from scipy.linalg import solve_triangular + +_BLOCK = 8192 + + +def make_config(d, T, tau, w=None): + """The `config` dict handed to `estimate`. Contains no instance secrets.""" + if w is None: + w = np.full(d, 1.0 / d) + return { + "d": int(d), + "T": int(T), + "tau": int(tau), + "q": 1, + "sketch": "kaczmarz", + "beta": 0.505, + "c_beta": 1.0, + "loss": "squared_error_linear_regression", + "x0": np.zeros(d), + "B0": np.eye(d), + "w": np.asarray(w, dtype=np.float64), + } + + +def draw_samples(instance, seed): + """Draw the T samples of one replication from an instance's parameters. + + `instance` needs the keys d, T, sigma, x_star and either Sigma_a or (equi_r). + Returns (A, b) with A of shape (T, d) and b of shape (T,). + """ + d, T = int(instance["d"]), int(instance["T"]) + Sigma_a = instance_covariance(instance) + L = np.linalg.cholesky(Sigma_a) + rng = np.random.default_rng(seed) + A = rng.standard_normal((T, d)) @ L.T + eps = rng.standard_normal(T) * float(instance["sigma"]) + b = A @ np.asarray(instance["x_star"], dtype=np.float64) + eps + return A, b + + +def instance_covariance(instance): + """Equi-correlation design: [Sigma_a]_ii = 1, [Sigma_a]_ij = r for i != j.""" + d = int(instance["d"]) + r = float(instance["equi_r"]) + Sigma = np.full((d, d), r) + np.fill_diagonal(Sigma, 1.0) + return Sigma + + +def stream_from_samples(A, b, config, alg_seed): + """Yield one record per iteration. `A` is (T, d), `b` is (T,). + + Each record is a fresh dict holding read-only arrays. The runner never writes into an + array it has already yielded, so a record stays valid for as long as you keep it. + t int, the iteration index + x (d,) x_{t+1}, the iterate AFTER this step's update + alpha float the realized stepsize alpha_t + g (d,) the stochastic gradient at x_t + H (d, d) the sample Hessian at x_t + B (d, d) the Hessian average B_t used by this step's inner solve + sketch_idx (tau,) the Kaczmarz indices used by this step's inner solve + """ + d = int(config["d"]) + T = int(config["T"]) + tau = int(config["tau"]) + beta = float(config["beta"]) + c_beta = float(config["c_beta"]) + + x = np.array(config["x0"], dtype=np.float64) + B = np.array(config["B0"], dtype=np.float64) + rng = np.random.default_rng(alg_seed) + + idx_block = None + u_block = None + for t in range(T): + k = t % _BLOCK + if k == 0: + n = min(_BLOCK, T - t) + idx_block = rng.integers(0, d, size=(n, tau)) + u_block = rng.random(n) + + a = A[t] + g = a * (a @ x - b[t]) + + idx = idx_block[k] + sel = B[:, idx] + nrm = np.sqrt(np.einsum("ij,ij->j", sel, sel)) + F = sel / nrm + dx = F @ solve_triangular(np.tril(F.T @ F), -g[idx] / nrm, lower=True, + unit_diagonal=True, check_finite=False, overwrite_b=True) + + beta_t = c_beta / (t + 1.0) ** beta + alpha = beta_t + u_block[k] * beta_t * beta_t + x = x + alpha * dx + + H = np.outer(a, a) + for arr in (x, g, H, B, idx): + arr.flags.writeable = False + yield { + "t": t, + "x": x, + "alpha": float(alpha), + "g": g, + "H": H, + "B": B, + "sketch_idx": idx, + } + + B = ((t + 1.0) * B + H) / (t + 2.0) + + +def make_stream(instance, config, sample_seed, alg_seed): + """Convenience wrapper: draw an instance's samples, then stream one replication.""" + A, b = draw_samples(instance, sample_seed) + return stream_from_samples(A, b, config, alg_seed) diff --git a/tasks/sketched-newton-cov-estimator/environment/requirements.txt b/tasks/sketched-newton-cov-estimator/environment/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..b2c8174712815cd13bff215d4cd4238b180df145 --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/environment/requirements.txt @@ -0,0 +1,2 @@ +numpy==2.5.2 +scipy==1.18.0 diff --git a/tasks/sketched-newton-cov-estimator/hints/hint.md b/tasks/sketched-newton-cov-estimator/hints/hint.md new file mode 100644 index 0000000000000000000000000000000000000000..a8dda51730a605784eaed6bf8ad5849c6ce0c946 --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/hints/hint.md @@ -0,0 +1 @@ +The limiting covariance solves a Lyapunov recurrence whose sketch moments have closed form; derive it and evaluate exactly rather than replaying the optimizer. Estimate the data covariance by maximum likelihood under its parametric structure and the noise scale from an exact streaming least-squares residual - the noise scale, not the correlation, is what limits accuracy. Accuracy also rises with records consumed, so profile under the same concurrency the grader uses and set the internal deadline so a full pass completes there. diff --git a/tasks/sketched-newton-cov-estimator/tests/Dockerfile b/tasks/sketched-newton-cov-estimator/tests/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..b5a4bb6526d3299406eeff96b12dda06f7527a97 --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/tests/Dockerfile @@ -0,0 +1,31 @@ +FROM --platform=linux/amd64 public.ecr.aws/docker/library/python:3.13-slim-bookworm@sha256:01f42367a0a94ad4bc17111776fd66e3500c1d87c15bbd6055b7371d39c124fb + +ENTRYPOINT [] +ENV PYTHONPATH= +ENV PYTHONSAFEPATH=1 +ENV DEBIAN_FRONTEND=noninteractive \ + PYTHONHASHSEED=0 \ + PIP_NO_CACHE_DIR=1 \ + PIP_DISABLE_PIP_VERSION_CHECK=1 \ + OMP_NUM_THREADS=1 \ + OPENBLAS_NUM_THREADS=1 \ + MKL_NUM_THREADS=1 + +RUN useradd --create-home --uid 1001 agent + +COPY ./requirements.txt /tmp/requirements.txt +COPY ./requirements-verifier.txt /tmp/requirements-verifier.txt +RUN /usr/local/bin/python3 -m pip install --no-cache-dir \ + -r /tmp/requirements.txt -r /tmp/requirements-verifier.txt \ + && rm /tmp/requirements.txt /tmp/requirements-verifier.txt + +RUN mkdir -p /app/output /logs/verifier + +COPY . /tests + +RUN chown -R root:root /tests \ + && chmod 700 /tests/hidden_data /tests/hidden_data/intermediate /tests/hidden_data/final \ + && chmod +x /tests/test.sh /tests/intermediate.sh \ + && find /tests -exec touch -d @1700000000 {} + + +WORKDIR /tests diff --git a/tasks/sketched-newton-cov-estimator/tests/compute_reward.py b/tasks/sketched-newton-cov-estimator/tests/compute_reward.py new file mode 100644 index 0000000000000000000000000000000000000000..8233986f06026ee40725e08b95982288aef591f6 --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/tests/compute_reward.py @@ -0,0 +1,19 @@ +import json +import math +from pathlib import Path + +REWARD_PATH = Path("/logs/verifier/reward.txt") +METRIC_PATH = Path("/logs/verifier/metric.json") + +try: + REWARD_PATH.parent.mkdir(parents=True, exist_ok=True) + value = float(json.loads(METRIC_PATH.read_text())["reward"]) + if not math.isfinite(value): + raise ValueError("non-finite reward") + reward = f"{min(1.0, max(0.0, value)):.12g}" + REWARD_PATH.write_text(reward + "\n") + print(f"reward={reward}") +except Exception as exc: + REWARD_PATH.parent.mkdir(parents=True, exist_ok=True) + REWARD_PATH.write_text("0\n") + print(f"reward=0 (fallback: {exc})") diff --git a/tasks/sketched-newton-cov-estimator/tests/grader_core.py b/tasks/sketched-newton-cov-estimator/tests/grader_core.py new file mode 100644 index 0000000000000000000000000000000000000000..52bf567b599865c2d19d3fab161ff21070daf9e8 --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/tests/grader_core.py @@ -0,0 +1,268 @@ +import json +import math +import os +import shutil +import signal +import subprocess +import sys +import tempfile +import time +from concurrent.futures import ThreadPoolExecutor +from pathlib import Path + +import numpy as np + +sys.path.insert(0, str(Path(__file__).resolve().parent)) +import oracle + +TESTS_DIR = Path(__file__).resolve().parent + +ENTRY_POINT = "estimator.py" +REPLICATIONS = int(os.environ.get("GRADER_REPLICATIONS", "20")) +REPLICATION_TIMEOUT_S = 90.0 +TRIVIAL_ERROR = 1.0 +RUN_AS_UID = int(os.environ.get("GRADER_RUN_AS_UID", "1001")) +WORKERS = int(os.environ.get("GRADER_WORKERS", "8")) +GLOBAL_DEADLINE_S = float(os.environ.get("GRADER_DEADLINE_S", "1200")) + +M0 = 1.0 +BASELINE_SCORE = 0.013 + + +def reward_from_metric(metric): + """log-ratio squash: 0 at the trivial baseline, 0.5 at the reference, -> 1, no cutoff.""" + if metric is None: + return 0.0 + m = float(metric) + if not math.isfinite(m) or m < 0.0: + return 0.0 + if m == 0.0: + return 1.0 + u = math.log(M0 / m) / math.log(M0 / BASELINE_SCORE) + if u <= 0.0: + return 0.0 + return u / (1.0 + u) + + +def load_instances(split_dir): + paths = sorted(Path(split_dir).glob("inst_*.json")) + if not paths: + raise RuntimeError(f"no instances under {split_dir}") + return [json.loads(p.read_text()) for p in paths] + + +def instance_covariance(inst): + d = int(inst["d"]) + Sigma = np.full((d, d), float(inst["equi_r"])) + np.fill_diagonal(Sigma, 1.0) + return Sigma + + +def true_functional(inst): + """w' Xi* w for one instance, from the closed form. Never leaves this process.""" + d = int(inst["d"]) + Xi = oracle.xi_star(instance_covariance(inst), float(inst["sigma"]) ** 2, int(inst["tau"])) + w = np.full(d, 1.0 / d) + return float(w @ Xi @ w) + + +def draw_samples(inst, seed): + """The realized samples of one replication. The only thing the child is given.""" + d, T = int(inst["d"]), int(inst["T"]) + L = np.linalg.cholesky(instance_covariance(inst)) + rng = np.random.default_rng(seed) + A = rng.standard_normal((T, d)) @ L.T + b = A @ np.asarray(inst["x_star"], dtype=np.float64) + rng.standard_normal(T) * float(inst["sigma"]) + return A, b + + +def _launch(workdir, timeout_s): + """Run the deliverable in its own session as an unprivileged uid, hard-killed on time. + + Output goes to a file rather than a pipe, so an agent that prints without bound cannot + grow the trusted process's memory; only the last 2 kB is ever read back. + """ + py = sys.executable + script = str(workdir / "run_one.py") + argv = [py, script, "--workdir", str(workdir)] + kwargs = dict(cwd=str(workdir / "out"), start_new_session=True, + user=RUN_AS_UID, group=RUN_AS_UID, env={ + "PATH": "/usr/local/bin:/usr/bin:/bin", + "HOME": str(workdir / "out"), "TMPDIR": str(workdir / "out"), + "OMP_NUM_THREADS": "1", "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", "NUMEXPR_NUM_THREADS": "1", + "PYTHONHASHSEED": "0", "PYTHONDONTWRITEBYTECODE": "1"}) + + log = workdir / "child.log" + with open(log, "wb") as fh: + proc = subprocess.Popen(argv, stdout=fh, stderr=subprocess.STDOUT, **kwargs) + try: + proc.communicate(timeout=timeout_s) + rc = proc.returncode + except subprocess.TimeoutExpired: + try: + os.killpg(os.getpgid(proc.pid), signal.SIGKILL) + except Exception: + proc.kill() + proc.communicate() + rc = "timeout" + tail = "" + try: + with open(log, "rb") as fh: + fh.seek(max(0, log.stat().st_size - 2000)) + tail = fh.read().decode("utf-8", "replace") + except Exception: + pass + return rc, tail + + +def run_replication(inst, rep, solution_dir, workroot, timeout_s): + """Prepare a scratch dir, run one replication, return the raw functional or a failure.""" + out = {"instance": inst["name"], "rep": rep, "status": "error", "v_hat": None, "detail": ""} + if timeout_s <= 1.0: + out["status"] = "deadline" + return out + work = Path(tempfile.mkdtemp(dir=workroot, prefix=f"{inst['name']}_r{rep}_")) + try: + shutil.copy2(TESTS_DIR / "run_one.py", work / "run_one.py") + shutil.copytree(TESTS_DIR / "harness", work / "harness") + shutil.copytree(solution_dir, work / "solution", symlinks=True) + seed = int(inst["seed_base"]) + 2 * rep + A, b = draw_samples(inst, seed) + np.save(work / "samples_a.npy", A, allow_pickle=False) + np.save(work / "samples_b.npy", b, allow_pickle=False) + (work / "job.json").write_text(json.dumps( + {"d": int(inst["d"]), "T": int(inst["T"]), "tau": int(inst["tau"]), + "alg_seed": seed + 1})) + del A, b + for p in [work] + list(work.rglob("*")): + os.chmod(p, 0o755 if p.is_dir() else 0o644) + (work / "out").mkdir() + os.chown(work / "out", RUN_AS_UID, RUN_AS_UID) + os.chmod(work / "out", 0o700) + + rc, err = _launch(work, timeout_s) + if rc == "timeout": + out["status"] = "timeout" + out["detail"] = f"exceeded {timeout_s:.0f}s" + return out + if rc != 0: + out["status"] = "crashed" + out["detail"] = err.strip()[-600:] + return out + + res = work / "out" / "result.npy" + if not res.exists(): + out["status"] = "no_output" + return out + try: + M = np.load(res, allow_pickle=False) + except Exception as exc: + out["status"] = "unparseable" + out["detail"] = str(exc)[:200] + return out + d = int(inst["d"]) + if M.shape != (d, d) or M.dtype != np.float64: + out["status"] = "bad_shape" + out["detail"] = f"got shape {M.shape} dtype {M.dtype}" + return out + if not np.all(np.isfinite(M)): + out["status"] = "non_finite" + return out + w = np.full(d, 1.0 / d) + out["v_hat"] = float(w @ M @ w) + out["status"] = "ok" + return out + except Exception as exc: + out["status"] = "infra_error" + out["detail"] = f"{type(exc).__name__}: {exc}"[:300] + return out + finally: + shutil.rmtree(work, ignore_errors=True) + + +def grade(split_dir, deliverable_dir, workroot=None, replications=REPLICATIONS): + t0 = time.time() + instances = load_instances(split_dir) + truth = {i["name"]: true_functional(i) for i in instances} + + entry = Path(deliverable_dir) / ENTRY_POINT + have_entry = entry.is_file() and entry.stat().st_size > 0 + results = [] + + if have_entry: + workroot = workroot or tempfile.mkdtemp(prefix="grade_") + os.chmod(workroot, 0o711) + staged = Path(workroot) / "solution" + shutil.rmtree(staged, ignore_errors=True) + src = Path(deliverable_dir) + for p in [src] + list(src.rglob("*")): + if p.is_symlink(): + raise RuntimeError(f"symlink in deliverable is not allowed: {p}") + shutil.copytree(deliverable_dir, staged, symlinks=True) + for p in [staged] + list(staged.rglob("*")): + os.chmod(p, 0o755 if p.is_dir() else 0o644) + + jobs = [(i, r) for i in instances for r in range(replications)] + + def work(job): + inst, rep = job + left = GLOBAL_DEADLINE_S - (time.time() - t0) + return run_replication(inst, rep, staged, workroot, + min(REPLICATION_TIMEOUT_S, left)) + + with ThreadPoolExecutor(max_workers=WORKERS) as pool: + results = list(pool.map(work, jobs)) + else: + for inst in instances: + for rep in range(replications): + results.append({"instance": inst["name"], "rep": rep, + "status": "missing_entry_point", "v_hat": None, "detail": ""}) + + per_instance = {} + for inst in instances: + name = inst["name"] + rows = [r for r in results if r["instance"] == name] + bad = [r for r in rows if r["status"] != "ok"] + if bad or len(rows) != replications: + per_instance[name] = {"error": TRIVIAL_ERROR, "failed": len(bad) + replications - len(rows)} + continue + v = truth[name] + rel = np.array([r["v_hat"] for r in rows], dtype=np.float64) / v - 1.0 + sd = float(rel.std(ddof=1)) if len(rel) > 1 else float("nan") + per_instance[name] = {"error": float(abs(rel.mean())), "failed": 0, + "signed_mean": float(rel.mean()), + "sd_per_replication": sd, + "mc_error": sd / math.sqrt(len(rel))} + + metric = float(np.mean([per_instance[i["name"]]["error"] for i in instances])) + n_failed = sum(1 for r in results if r["status"] != "ok") + statuses = {} + for r in results: + statuses[r["status"]] = statuses.get(r["status"], 0) + 1 + first_detail = next((r["detail"] for r in results if r["status"] != "ok" and r["detail"]), "") + + return { + "metric": metric, + "reward": reward_from_metric(metric), + "replications_per_instance": replications, + "replications_failed": n_failed, + "replication_status_counts": statuses, + "first_failure_detail": first_detail, + "per_instance": per_instance, + "wall_clock_s": round(time.time() - t0, 1), + } + + +def summary_lines(report): + """The only thing printed to stdout. Aggregates only -- no per-instance detail.""" + return [ + f"replications per instance : {report['replications_per_instance']}", + f"replications failed : {report['replications_failed']}" + + (f" {report['replication_status_counts']}" if report["replications_failed"] else ""), + f"first failure : {report['first_failure_detail'][:600]}" + if report["first_failure_detail"] else "first failure : -", + f"metric (lower is better) : {report['metric']:.6f}", + f"reward : {report['reward']:.6f}", + f"grading wall clock (s) : {report['wall_clock_s']}", + ] diff --git a/tasks/sketched-newton-cov-estimator/tests/harness/runner.py b/tasks/sketched-newton-cov-estimator/tests/harness/runner.py new file mode 100644 index 0000000000000000000000000000000000000000..2584efc2c41bed308c340ef6aaabc15d12b9590e --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/tests/harness/runner.py @@ -0,0 +1,116 @@ +import numpy as np +from scipy.linalg import solve_triangular + +_BLOCK = 8192 + + +def make_config(d, T, tau, w=None): + """The `config` dict handed to `estimate`. Contains no instance secrets.""" + if w is None: + w = np.full(d, 1.0 / d) + return { + "d": int(d), + "T": int(T), + "tau": int(tau), + "q": 1, + "sketch": "kaczmarz", + "beta": 0.505, + "c_beta": 1.0, + "loss": "squared_error_linear_regression", + "x0": np.zeros(d), + "B0": np.eye(d), + "w": np.asarray(w, dtype=np.float64), + } + + +def draw_samples(instance, seed): + """Draw the T samples of one replication from an instance's parameters. + + `instance` needs the keys d, T, sigma, x_star and either Sigma_a or (equi_r). + Returns (A, b) with A of shape (T, d) and b of shape (T,). + """ + d, T = int(instance["d"]), int(instance["T"]) + Sigma_a = instance_covariance(instance) + L = np.linalg.cholesky(Sigma_a) + rng = np.random.default_rng(seed) + A = rng.standard_normal((T, d)) @ L.T + eps = rng.standard_normal(T) * float(instance["sigma"]) + b = A @ np.asarray(instance["x_star"], dtype=np.float64) + eps + return A, b + + +def instance_covariance(instance): + """Equi-correlation design: [Sigma_a]_ii = 1, [Sigma_a]_ij = r for i != j.""" + d = int(instance["d"]) + r = float(instance["equi_r"]) + Sigma = np.full((d, d), r) + np.fill_diagonal(Sigma, 1.0) + return Sigma + + +def stream_from_samples(A, b, config, alg_seed): + """Yield one record per iteration. `A` is (T, d), `b` is (T,). + + Each record is a fresh dict holding read-only arrays. The runner never writes into an + array it has already yielded, so a record stays valid for as long as you keep it. + t int, the iteration index + x (d,) x_{t+1}, the iterate AFTER this step's update + alpha float the realized stepsize alpha_t + g (d,) the stochastic gradient at x_t + H (d, d) the sample Hessian at x_t + B (d, d) the Hessian average B_t used by this step's inner solve + sketch_idx (tau,) the Kaczmarz indices used by this step's inner solve + """ + d = int(config["d"]) + T = int(config["T"]) + tau = int(config["tau"]) + beta = float(config["beta"]) + c_beta = float(config["c_beta"]) + + x = np.array(config["x0"], dtype=np.float64) + B = np.array(config["B0"], dtype=np.float64) + rng = np.random.default_rng(alg_seed) + + idx_block = None + u_block = None + for t in range(T): + k = t % _BLOCK + if k == 0: + n = min(_BLOCK, T - t) + idx_block = rng.integers(0, d, size=(n, tau)) + u_block = rng.random(n) + + a = A[t] + g = a * (a @ x - b[t]) + + idx = idx_block[k] + sel = B[:, idx] + nrm = np.sqrt(np.einsum("ij,ij->j", sel, sel)) + F = sel / nrm + dx = F @ solve_triangular(np.tril(F.T @ F), -g[idx] / nrm, lower=True, + unit_diagonal=True, check_finite=False, overwrite_b=True) + + beta_t = c_beta / (t + 1.0) ** beta + alpha = beta_t + u_block[k] * beta_t * beta_t + x = x + alpha * dx + + H = np.outer(a, a) + for arr in (x, g, H, B, idx): + arr.flags.writeable = False + yield { + "t": t, + "x": x, + "alpha": float(alpha), + "g": g, + "H": H, + "B": B, + "sketch_idx": idx, + } + + B = ((t + 1.0) * B + H) / (t + 2.0) + + +def make_stream(instance, config, sample_seed, alg_seed): + """Convenience wrapper: draw an instance's samples, then stream one replication.""" + A, b = draw_samples(instance, sample_seed) + return stream_from_samples(A, b, config, alg_seed) diff --git a/tasks/sketched-newton-cov-estimator/tests/hidden_data/final/inst_0.json b/tasks/sketched-newton-cov-estimator/tests/hidden_data/final/inst_0.json new file mode 100644 index 0000000000000000000000000000000000000000..0523d06feb20f903ec74377375da51ad3d1de2b2 --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/tests/hidden_data/final/inst_0.json @@ -0,0 +1,31 @@ +{ + "name": "sealF0", + "d": 20, + "T": 300000, + "tau": 20, + "equi_r": 0.132076, + "sigma": 1.035163, + "x_star": [ + -0.019722108888, + -0.043768990181, + -0.016978953849, + -0.041987901786, + -0.027223042407, + 0.006300373844, + 0.013943979186, + -0.019059026608, + 0.008421650997, + -0.079513148397, + -0.071653297202, + 0.053201419509, + -0.060378806686, + -0.085022153445, + -0.005837723371, + 0.101380431414, + 0.047635755492, + 7.7076412e-05, + -0.07658615567, + 0.025033501465 + ], + "seed_base": 841200185 +} diff --git a/tasks/sketched-newton-cov-estimator/tests/hidden_data/final/inst_1.json b/tasks/sketched-newton-cov-estimator/tests/hidden_data/final/inst_1.json new file mode 100644 index 0000000000000000000000000000000000000000..785b46e924cbb6c2096ec806055b1223aacedef8 --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/tests/hidden_data/final/inst_1.json @@ -0,0 +1,31 @@ +{ + "name": "sealF1", + "d": 20, + "T": 300000, + "tau": 40, + "equi_r": 0.222325, + "sigma": 0.805114, + "x_star": [ + -0.082932808961, + 0.038545870624, + 0.004312618402, + -0.055654625394, + 0.020893374205, + -0.124393736972, + 0.057071827706, + 0.043785304794, + -0.042946668716, + 0.019317748747, + 0.002910150262, + -0.037568440259, + -0.055793184577, + 0.056245388685, + -0.031427430157, + 0.008295253253, + 0.053125175571, + -0.040845921657, + -0.040308878577, + -0.018703000051 + ], + "seed_base": 939721810 +} diff --git a/tasks/sketched-newton-cov-estimator/tests/hidden_data/final/inst_2.json b/tasks/sketched-newton-cov-estimator/tests/hidden_data/final/inst_2.json new file mode 100644 index 0000000000000000000000000000000000000000..a40f358461993c7d7696a68c66f1f43b2f53c2af --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/tests/hidden_data/final/inst_2.json @@ -0,0 +1,31 @@ +{ + "name": "sealF2", + "d": 20, + "T": 300000, + "tau": 10, + "equi_r": 0.151511, + "sigma": 0.874065, + "x_star": [ + 0.095956898049, + -0.004996400008, + 0.006311228453, + 0.011112538622, + -0.009496748634, + -0.015015359292, + -0.005287695998, + 0.048944383801, + -0.062397368507, + 0.00238404898, + -0.100809118235, + 0.028671325467, + -0.068214488049, + -0.023500778765, + 0.056537806242, + -0.033217168108, + -0.030644999212, + 0.011702616777, + -0.048161361361, + -0.100400192593 + ], + "seed_base": 755664261 +} diff --git a/tasks/sketched-newton-cov-estimator/tests/hidden_data/final/inst_3.json b/tasks/sketched-newton-cov-estimator/tests/hidden_data/final/inst_3.json new file mode 100644 index 0000000000000000000000000000000000000000..001fecff5e7027a9e4b34016cf16d933ddfcfab6 --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/tests/hidden_data/final/inst_3.json @@ -0,0 +1,31 @@ +{ + "name": "sealF3", + "d": 20, + "T": 300000, + "tau": 20, + "equi_r": 0.271258, + "sigma": 1.751414, + "x_star": [ + 0.024972636039, + 0.03533280065, + 0.093659428727, + -0.041126527796, + -0.024346355273, + -0.083137388327, + -0.037750722609, + 0.066469180419, + -0.003471314605, + 0.091974410156, + -0.010119253259, + -0.010260004657, + -0.053269325588, + 0.047791864094, + 0.04810807302, + -0.004704687523, + 0.003928567812, + 0.006460957598, + 0.03196080178, + -0.084265993839 + ], + "seed_base": 996720305 +} diff --git a/tasks/sketched-newton-cov-estimator/tests/hidden_data/intermediate/inst_0.json b/tasks/sketched-newton-cov-estimator/tests/hidden_data/intermediate/inst_0.json new file mode 100644 index 0000000000000000000000000000000000000000..0400c3f8b10fe8c34c4141901d2254a0ebc462cb --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/tests/hidden_data/intermediate/inst_0.json @@ -0,0 +1,31 @@ +{ + "name": "sealI0", + "d": 20, + "T": 300000, + "tau": 10, + "equi_r": 0.242438, + "sigma": 1.987579, + "x_star": [ + 0.035973464612, + 0.027253032917, + -0.031596861933, + -0.018343116487, + -0.020911424013, + -0.1491477536, + 0.013498660293, + 0.006200096616, + -0.015070425319, + 0.022844567177, + -0.077994643809, + -0.003851103026, + -0.032669570035, + 0.041203220648, + -0.007091550034, + 0.00811292529, + 0.065859152925, + 0.046109225502, + -0.04484870205, + -0.07431256495 + ], + "seed_base": 801608310 +} diff --git a/tasks/sketched-newton-cov-estimator/tests/hidden_data/intermediate/inst_1.json b/tasks/sketched-newton-cov-estimator/tests/hidden_data/intermediate/inst_1.json new file mode 100644 index 0000000000000000000000000000000000000000..9ea4104f8f0f3fb1a980676e96e76504e355c25e --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/tests/hidden_data/intermediate/inst_1.json @@ -0,0 +1,31 @@ +{ + "name": "sealI1", + "d": 20, + "T": 300000, + "tau": 40, + "equi_r": 0.112021, + "sigma": 1.160481, + "x_star": [ + -0.03426103133, + 0.01757527391, + -0.114675095472, + -0.03974628369, + -0.057236905083, + 0.005505864975, + 0.044311780829, + -0.017366965234, + -0.040559344461, + -0.045404460944, + -0.002066011218, + -0.071839758821, + -0.05194956085, + -0.05814472584, + -0.021194042223, + -0.029639640005, + -0.038732120007, + 0.098609447255, + 0.026606893038, + -0.00214245734 + ], + "seed_base": 942125480 +} diff --git a/tasks/sketched-newton-cov-estimator/tests/hidden_data/intermediate/inst_2.json b/tasks/sketched-newton-cov-estimator/tests/hidden_data/intermediate/inst_2.json new file mode 100644 index 0000000000000000000000000000000000000000..b70c049d2cf9334fc0f262f918cb309ef66878fd --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/tests/hidden_data/intermediate/inst_2.json @@ -0,0 +1,31 @@ +{ + "name": "sealI2", + "d": 20, + "T": 300000, + "tau": 20, + "equi_r": 0.150641, + "sigma": 1.9847, + "x_star": [ + 0.061912698266, + -0.011329243664, + 0.001349428686, + -0.033716256102, + -0.066686683827, + -0.040736213303, + 0.055910365725, + -0.023177050316, + 0.037218968578, + -0.038877559169, + 0.071259066126, + 0.022718553147, + 0.075966470665, + -0.009292402812, + -0.116543497448, + 0.017304237725, + -0.038278283045, + -0.044425847335, + -0.057455316556, + 0.012664324105 + ], + "seed_base": 462111903 +} diff --git a/tasks/sketched-newton-cov-estimator/tests/hidden_data/intermediate/inst_3.json b/tasks/sketched-newton-cov-estimator/tests/hidden_data/intermediate/inst_3.json new file mode 100644 index 0000000000000000000000000000000000000000..3db9fc629a32f69d4a968dd1d885f578d53447f5 --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/tests/hidden_data/intermediate/inst_3.json @@ -0,0 +1,31 @@ +{ + "name": "sealI3", + "d": 20, + "T": 300000, + "tau": 40, + "equi_r": 0.265884, + "sigma": 0.501666, + "x_star": [ + -0.00495812216, + 0.057794303105, + -0.132022500532, + 5.8374263e-05, + 0.011778313649, + -0.067304320932, + 0.053298500444, + -0.00069184491, + 0.031638710103, + -0.067837987423, + -0.002114095999, + -0.05050766958, + 0.040031360963, + -0.028814842159, + 0.037268534752, + -0.018590979209, + 0.016295358434, + -0.07212676206, + 0.008673464269, + -0.061859333449 + ], + "seed_base": 385455181 +} diff --git a/tasks/sketched-newton-cov-estimator/tests/intermediate.sh b/tasks/sketched-newton-cov-estimator/tests/intermediate.sh new file mode 100644 index 0000000000000000000000000000000000000000..9b30336f11fd9f38844c60d88094b6711cc04711 --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/tests/intermediate.sh @@ -0,0 +1,19 @@ +#!/bin/bash +set -u + +mkdir -p /logs/verifier +chown root:root /logs/verifier 2>/dev/null || true +chmod 755 /logs/verifier 2>/dev/null || true +rm -f /logs/verifier/reward.txt /logs/verifier/ctrf.json /logs/verifier/metric.json + +printf '0\n' > /logs/verifier/reward.txt +trap 'if [ ! -s /logs/verifier/reward.txt ]; then printf "0\n" > /logs/verifier/reward.txt; fi' EXIT + +chmod -R go-rwx /tests + +export GRADE_SPLIT=intermediate +cd /tests +/usr/local/bin/python3 -m pytest --ctrf /logs/verifier/ctrf.json /tests/test_state.py -rA +/usr/local/bin/python3 /tests/compute_reward.py + +exit 0 diff --git a/tasks/sketched-newton-cov-estimator/tests/oracle.py b/tasks/sketched-newton-cov-estimator/tests/oracle.py new file mode 100644 index 0000000000000000000000000000000000000000..e29bb732bbbb59514de36d7c141da878b36c961d --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/tests/oracle.py @@ -0,0 +1,38 @@ +import numpy as np + + +def _projectors(B): + """P[i] = b_i b_i^T / ||b_i||^2 for every column b_i of B.""" + nrm2 = np.einsum("ij,ij->j", B, B) + return np.einsum("ik,jk->kij", B, B) / nrm2[:, None, None] + + +def xi_star(Sigma_a, sigma2, tau): + """The limiting covariance of the last iterate, exactly.""" + Sigma_a = np.asarray(Sigma_a, dtype=np.float64) + d = Sigma_a.shape[0] + Omega = float(sigma2) * np.linalg.inv(Sigma_a) + + Q = np.eye(d)[None, :, :] - _projectors(Sigma_a) + C = np.linalg.matrix_power(Q.mean(axis=0), int(tau)) + + A = Omega.copy() + for _ in range(int(tau)): + A = np.einsum("kij,jl,kml->im", Q, A, Q) / d + + RHS = Omega - C @ Omega - Omega @ C + A + RHS = 0.5 * (RHS + RHS.T) + + M = np.eye(d) - C + M = 0.5 * (M + M.T) + s, U = np.linalg.eigh(M) + if s.min() <= 1e-12: + raise ValueError("I - C* is singular; Xi* does not exist for this instance") + Theta = 1.0 / (s[:, None] + s[None, :]) + Xi = U @ (Theta * (U.T @ RHS @ U)) @ U.T + return 0.5 * (Xi + Xi.T) + + +def sandwich(Sigma_a, sigma2): + """Omega*/2, the exact-solver (tau -> infinity) limit. Used only by build-time checks.""" + return 0.5 * float(sigma2) * np.linalg.inv(np.asarray(Sigma_a, dtype=np.float64)) diff --git a/tasks/sketched-newton-cov-estimator/tests/requirements-verifier.txt b/tasks/sketched-newton-cov-estimator/tests/requirements-verifier.txt new file mode 100644 index 0000000000000000000000000000000000000000..04676c89520bf969f2cb861ad1811f46d8370700 --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/tests/requirements-verifier.txt @@ -0,0 +1,2 @@ +pytest==8.3.5 +pytest-json-ctrf==0.3.5 diff --git a/tasks/sketched-newton-cov-estimator/tests/requirements.txt b/tasks/sketched-newton-cov-estimator/tests/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..b2c8174712815cd13bff215d4cd4238b180df145 --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/tests/requirements.txt @@ -0,0 +1,2 @@ +numpy==2.5.2 +scipy==1.18.0 diff --git a/tasks/sketched-newton-cov-estimator/tests/run_one.py b/tasks/sketched-newton-cov-estimator/tests/run_one.py new file mode 100644 index 0000000000000000000000000000000000000000..af571a6efcf203310615566af2bdd6970d8a130f --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/tests/run_one.py @@ -0,0 +1,35 @@ +import argparse +import json +import sys +from pathlib import Path + +import numpy as np + + +def main(): + ap = argparse.ArgumentParser() + ap.add_argument("--workdir", required=True) + args = ap.parse_args() + work = Path(args.workdir) + + sys.path.insert(0, str(work / "harness")) + import runner + + spec = json.loads((work / "job.json").read_text()) + config = runner.make_config(spec["d"], spec["T"], spec["tau"]) + + A = np.load(work / "samples_a.npy", mmap_mode="r", allow_pickle=False) + b = np.load(work / "samples_b.npy", mmap_mode="r", allow_pickle=False) + stream = runner.stream_from_samples(A, b, config, spec["alg_seed"]) + + sys.path.insert(0, str(work / "solution")) + import estimator + + out = estimator.estimate(stream, config) + out = np.asarray(out, dtype=np.float64) + np.save(work / "out" / "result.npy", out, allow_pickle=False) + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/tasks/sketched-newton-cov-estimator/tests/test.sh b/tasks/sketched-newton-cov-estimator/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..9e00b253a432a6114466365ece25cadaad54a6e8 --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/tests/test.sh @@ -0,0 +1,19 @@ +#!/bin/bash +set -u + +mkdir -p /logs/verifier +chown root:root /logs/verifier 2>/dev/null || true +chmod 755 /logs/verifier 2>/dev/null || true +rm -f /logs/verifier/reward.txt /logs/verifier/ctrf.json /logs/verifier/metric.json + +printf '0\n' > /logs/verifier/reward.txt +trap 'if [ ! -s /logs/verifier/reward.txt ]; then printf "0\n" > /logs/verifier/reward.txt; fi' EXIT + +chmod -R go-rwx /tests + +export GRADE_SPLIT=final +cd /tests +/usr/local/bin/python3 -m pytest --ctrf /logs/verifier/ctrf.json /tests/test_state.py -rA +/usr/local/bin/python3 /tests/compute_reward.py + +exit 0 diff --git a/tasks/sketched-newton-cov-estimator/tests/test_state.py b/tasks/sketched-newton-cov-estimator/tests/test_state.py new file mode 100644 index 0000000000000000000000000000000000000000..9e613b83cea5cbc42da34f3a9c870674f3a1c054 --- /dev/null +++ b/tasks/sketched-newton-cov-estimator/tests/test_state.py @@ -0,0 +1,39 @@ +import json +import os +import sys +from pathlib import Path + +sys.path.insert(0, str(Path(__file__).resolve().parent)) +import grader_core + +DELIVERABLE = Path(os.environ.get("GRADER_DELIVERABLE", "/app/output")) +SPLIT = os.environ.get("GRADE_SPLIT", "final") +SPLIT_DIR = Path(os.environ.get( + "GRADER_SPLIT_DIR", str(Path(__file__).resolve().parent / "hidden_data" / SPLIT))) +METRIC_PATH = Path(os.environ.get("GRADER_METRIC_PATH", "/logs/verifier/metric.json")) + + +def test_limiting_covariance_estimator(): + """Run the submitted estimator over every sealed instance and score its variance error. + + The agent's code runs only in per-replication subprocesses launched by grader_core, as a + non-root uid, with no access to the instance parameters or to the true covariance. This + process recomputes the metric from verifier-owned ground truth; nothing the submission + reports about itself is read. + """ + report = {"metric": None, "reward": 0.0, "split": SPLIT} + try: + report = grader_core.grade(str(SPLIT_DIR), str(DELIVERABLE)) + report["split"] = SPLIT + except Exception as exc: + report["error"] = f"{type(exc).__name__}: {exc}" + finally: + METRIC_PATH.parent.mkdir(parents=True, exist_ok=True) + METRIC_PATH.write_text(json.dumps(report, indent=1, sort_keys=True) + "\n") + + print("") + for line in grader_core.summary_lines(report) if "error" not in report else \ + [f"grading failed: {report['error']}", "metric (lower is better) : n/a", + "reward : 0.000000"]: + print(line) + assert "error" not in report, report.get("error") diff --git a/tasks/sopcc-online-chance-constrained-policy/environment/Dockerfile b/tasks/sopcc-online-chance-constrained-policy/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..ddb1ff5211215c5d37a9e2b4d9eb55e86cf4f39d --- /dev/null +++ b/tasks/sopcc-online-chance-constrained-policy/environment/Dockerfile @@ -0,0 +1,47 @@ +FROM --platform=linux/amd64 public.ecr.aws/docker/library/python:3.13-slim-bookworm@sha256:01f42367a0a94ad4bc17111776fd66e3500c1d87c15bbd6055b7371d39c124fb + +RUN set -eu; \ + if [ ! -s /etc/ssl/certs/ca-certificates.crt ]; then \ + apt-get update && apt-get install -y --no-install-recommends ca-certificates=20230311+deb12u1; \ + fi; \ + rm -f /tmp/hz-prereq.list; \ + echo 'deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] https://snapshot.debian.org/archive/debian/20260801T000000Z bookworm main' >> /tmp/hz-prereq.list; \ + echo 'deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] https://snapshot.debian.org/archive/debian-security/20260801T000000Z bookworm-security main' >> /tmp/hz-prereq.list; \ + apt-get -o Dir::Etc::sourcelist=/tmp/hz-prereq.list -o Dir::Etc::sourceparts=/dev/null -o Acquire::Check-Valid-Until=false update; \ + apt-get -o Dir::Etc::sourcelist=/tmp/hz-prereq.list -o Dir::Etc::sourceparts=/dev/null -o Acquire::Check-Valid-Until=false install -y --no-install-recommends tmux=3.3a-3 asciinema=2.2.0-1; \ + rm -f /tmp/hz-prereq.list; rm -rf /var/lib/apt/lists/* + + +ENTRYPOINT [] +ENV DEBIAN_FRONTEND=noninteractive \ + PYTHONHASHSEED=0 \ + PIP_NO_CACHE_DIR=1 \ + PIP_DISABLE_PIP_VERSION_CHECK=1 \ + OMP_NUM_THREADS=1 \ + MKL_NUM_THREADS=1 \ + OPENBLAS_NUM_THREADS=1 + +RUN apt-get update \ + && apt-get install -y --no-install-recommends git=1:2.39.5-0+deb12u3 \ + && rm -rf /var/lib/apt/lists/* + +RUN useradd --create-home --uid 1001 agent + +COPY ./requirements.txt /tmp/requirements.txt +RUN /usr/local/bin/python3 -m pip install --no-cache-dir -r /tmp/requirements.txt \ + && rm /tmp/requirements.txt + +WORKDIR /app +COPY ./app /app + +RUN mkdir -p /app/solution \ + && chown -R agent:agent /app \ + && chown -R root:root /app/harness \ + && find /app -exec touch -d @1700000000 {} + + +ENV HF_HUB_OFFLINE=1 +ENV TRANSFORMERS_OFFLINE=1 + +RUN git config --system user.email "agent@localhost" \ + && git config --system user.name "autoresearch agent" +USER agent diff --git a/tasks/sopcc-online-chance-constrained-policy/environment/app/harness/baseline_policy.py b/tasks/sopcc-online-chance-constrained-policy/environment/app/harness/baseline_policy.py new file mode 100644 index 0000000000000000000000000000000000000000..55d417660b57c6ea356d15138cc90f1b81c39d6c --- /dev/null +++ b/tasks/sopcc-online-chance-constrained-policy/environment/app/harness/baseline_policy.py @@ -0,0 +1,28 @@ +from __future__ import annotations + +import numpy as np + +ALPHA = 0.50 + + +class Policy: + def __init__(self, seed: int): + self.rng = np.random.default_rng(seed) + + def prepare(self, instance: dict) -> None: + self.dist = instance["dist"] + self.goal = int(instance["goal"]) + self.rewards = instance["rewards"] + + def act(self, obs: dict) -> int: + current = int(obs["current"]) + visited = obs["visited"] + budget = ALPHA * float(obs["remaining_budget"]) + out = self.dist[current] + back = self.dist[:, self.goal] + feasible = (~visited) & (out + back <= budget) + feasible[self.goal] = False + if not feasible.any(): + return self.goal + candidates = np.flatnonzero(feasible) + return int(candidates[np.argmin(out[candidates])]) diff --git a/tasks/sopcc-online-chance-constrained-policy/environment/app/harness/dev_eval.py b/tasks/sopcc-online-chance-constrained-policy/environment/app/harness/dev_eval.py new file mode 100644 index 0000000000000000000000000000000000000000..d5753674808b6a3dc23045e7176754c4c109b9fe --- /dev/null +++ b/tasks/sopcc-online-chance-constrained-policy/environment/app/harness/dev_eval.py @@ -0,0 +1,100 @@ +#!/usr/bin/env python3 +from __future__ import annotations + +import argparse +import collections +import os +import sys +import tempfile + +sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) + +import runner +import sopcc + +CPU_SECONDS_PER_INSTANCE = 75.0 +WALL_SECONDS_PER_INSTANCE = 150.0 +ADDRESS_SPACE_BYTES = 6 * 1024 ** 3 +FILE_SIZE_BYTES = 64 * 1024 ** 2 +MAX_DELIVERABLE_BYTES = 50 * 1024 * 1024 + + +def main(argv=None) -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--solution", default="/app/solution", + help="directory holding policy.py") + parser.add_argument("--draws", default="0,1,2,3", + help="comma-separated dev draw ids to evaluate") + parser.add_argument("--instances", type=int, default=12, + help="instances per draw (up to %d)" % sopcc.DEV_INSTANCES_PER_DRAW) + parser.add_argument("--episodes", type=int, default=sopcc.EPISODES_PER_INSTANCE, + help="episodes per instance") + parser.add_argument("--workers", type=int, default=min(8, os.cpu_count() or 1)) + args = parser.parse_args(argv) + + ok, reason, size = runner.validate_solution_dir(args.solution, MAX_DELIVERABLE_BYTES) + if not ok: + print(f"deliverable rejected: {reason}") + return 1 + print(f"deliverable: {args.solution} ({size} bytes)") + + draws = [int(d) for d in args.draws.split(",") if d.strip() != ""] + full = sopcc.make_dev_panel() + panel = [e for d in draws + for e in [x for x in full if x["draw"] == d][:args.instances]] + if not panel: + print("no instances selected") + return 1 + + sandbox = runner.Sandbox( + cpu_seconds=CPU_SECONDS_PER_INSTANCE, + timeout=WALL_SECONDS_PER_INSTANCE, + address_space_bytes=ADDRESS_SPACE_BYTES, + file_size_bytes=FILE_SIZE_BYTES, + ) + staging = tempfile.mkdtemp(prefix="sopcc-dev-") + os.chmod(staging, 0o755) + candidate = runner.stage_candidate(args.solution, os.path.join(staging, "solution")) + summary = runner.grade_panel( + panel, sandbox, candidate, + worker_path=os.path.join(os.path.dirname(os.path.abspath(__file__)), + "policy_worker.py"), + workers=max(1, args.workers), episodes=args.episodes, + ) + + print(f"\n{len(panel)} instances x {args.episodes} episodes " + f"= {summary['episodes']} episodes") + print(f"{'draw':>6} {'metric':>9} {'R':>9} {'F':>8} {'penalty':>8}") + for draw in sorted(summary["per_draw"]): + s = summary["per_draw"][draw] + print(f"{draw:>6} {s['metric']:>9.3f} {s['R']:>9.3f} " + f"{s['F']:>8.3f} {s['penalty']:>8.3f}") + print(f"{'mean':>6} {summary['draw_metric_mean']:>9.3f} {summary['R']:>9.3f} " + f"{summary['F']:>8.3f} {summary['penalty']:>8.3f}") + print(f"\npooled metric {summary['metric']:.4f} " + f"(R={summary['R']:.4f}, F={summary['F']:.4f}, " + f"per-episode delivered sd={summary['delivered_std']:.3f})") + print(f"max per-instance cpu {summary['max_cpu_seconds']:.1f}s " + f"(cap {CPU_SECONDS_PER_INSTANCE:.0f}s), " + f"wall {summary['max_wall_seconds']:.1f}s " + f"(cap {WALL_SECONDS_PER_INSTANCE:.0f}s), " + f"aborted instances {summary['aborted_instances']}") + + reasons = collections.Counter() + for report in summary["reports"]: + for outcome in report["episodes"]: + if outcome["failed"]: + reasons[outcome["reason"].split(":")[0]] += 1 + if reasons: + print("failures: " + ", ".join(f"{k}={v}" for k, v in reasons.most_common(6))) + for report in summary["reports"]: + if report["abort"]: + print(f"\nfirst aborted instance: {report['abort']}") + if report["stderr_tail"].strip(): + print("stderr tail:\n" + report["stderr_tail"][-1200:]) + break + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/tasks/sopcc-online-chance-constrained-policy/environment/app/harness/policy_worker.py b/tasks/sopcc-online-chance-constrained-policy/environment/app/harness/policy_worker.py new file mode 100644 index 0000000000000000000000000000000000000000..e8bf3c99d4ffa5f64c330feae9268ffe5e83048c --- /dev/null +++ b/tasks/sopcc-online-chance-constrained-policy/environment/app/harness/policy_worker.py @@ -0,0 +1,132 @@ +from __future__ import annotations + +import importlib.util +import json +import os +import resource +import sys +import traceback + + +def _fail(reply, stage, exc): + reply({"ok": False, "stage": stage, "error": f"{type(exc).__name__}: {exc}", + "traceback": traceback.format_exc(limit=6)[-1200:]}) + + +def _apply_limits(limits: dict) -> None: + """Cap this process before any candidate code is imported. + + Set here rather than by the caller so there is no window between exec and the cap, and + the hard limit is set too: candidate code can lower these but never raise them. + """ + cpu = int(limits["cpu_seconds"]) + resource.setrlimit(resource.RLIMIT_CPU, (cpu + 1, cpu + 3)) + for name, key in (("RLIMIT_AS", "address_space_bytes"), + ("RLIMIT_FSIZE", "file_size_bytes"), + ("RLIMIT_NOFILE", "open_files")): + value = int(limits[key]) + soft, hard = resource.getrlimit(getattr(resource, name)) + if hard != resource.RLIM_INFINITY: + value = min(value, hard) + resource.setrlimit(getattr(resource, name), (value, value)) + resource.setrlimit(resource.RLIMIT_CORE, (0, 0)) + + +def main() -> int: + solution_dir = os.path.abspath(sys.argv[1]) + entry = os.path.join(solution_dir, "policy.py") + _apply_limits(json.loads(sys.argv[2])) + + reply_fd = os.dup(1) + os.dup2(2, 1) + sys.stdout = sys.stderr + channel = os.fdopen(reply_fd, "w", buffering=1) + + def reply(obj): + channel.write(json.dumps(obj) + "\n") + channel.flush() + + import numpy as np + try: + import torch + torch.set_num_threads(1) + except ImportError: + pass + + policy = None + for raw in sys.stdin: + raw = raw.strip() + if not raw: + continue + msg = json.loads(raw) + cmd = msg.get("cmd") + + if cmd == "init": + if not os.path.isfile(entry): + reply({"ok": False, "stage": "import", "error": f"no entry point at {entry}"}) + return 0 + try: + if solution_dir not in sys.path: + sys.path.insert(0, solution_dir) + spec = importlib.util.spec_from_file_location("candidate_policy", entry) + module = importlib.util.module_from_spec(spec) + sys.modules["candidate_policy"] = module + spec.loader.exec_module(module) + policy_cls = getattr(module, "Policy") + except Exception as exc: + _fail(reply, "import", exc) + return 0 + try: + policy = policy_cls(int(msg["seed"])) + except Exception as exc: + _fail(reply, "construct", exc) + return 0 + try: + instance = { + "coords": np.asarray(msg["instance"]["coords"], dtype=np.float64), + "rewards": np.asarray(msg["instance"]["rewards"], dtype=np.float64), + "dist": np.asarray(msg["instance"]["dist"], dtype=np.float64), + "start": int(msg["instance"]["start"]), + "goal": int(msg["instance"]["goal"]), + "budget": float(msg["instance"]["budget"]), + "p_fail": float(msg["instance"]["p_fail"]), + "cost_model": str(msg["instance"]["cost_model"]), + } + policy.prepare(instance) + except Exception as exc: + _fail(reply, "prepare", exc) + return 0 + reply({"ok": True}) + + elif cmd == "act": + obs = msg["obs"] + obs = { + "current": int(obs["current"]), + "visited": np.asarray(obs["visited"], dtype=bool), + "remaining_budget": float(obs["remaining_budget"]), + "collected_reward": float(obs["collected_reward"]), + "step": int(obs["step"]), + } + try: + action = policy.act(obs) + except Exception as exc: + reply({"ok": False, "stage": "act", + "error": f"{type(exc).__name__}: {exc}"}) + continue + if isinstance(action, bool) or not isinstance(action, (int, np.integer)): + reply({"ok": True, "action": None, + "kind": type(action).__name__}) + else: + reply({"ok": True, "action": int(action)}) + + elif cmd == "bye": + return 0 + + else: + reply({"ok": False, "stage": "protocol", "error": f"unknown command {cmd!r}"}) + return 0 + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/tasks/sopcc-online-chance-constrained-policy/environment/app/harness/runner.py b/tasks/sopcc-online-chance-constrained-policy/environment/app/harness/runner.py new file mode 100644 index 0000000000000000000000000000000000000000..5d41a6bdb2a42a69e51742ed157698e86f7d1402 --- /dev/null +++ b/tasks/sopcc-online-chance-constrained-policy/environment/app/harness/runner.py @@ -0,0 +1,517 @@ +from __future__ import annotations + +import ctypes +import json +import os +import resource +import select +import shutil +import signal +import stat +import sys +import tempfile +import threading +import time +from concurrent.futures import ThreadPoolExecutor +from dataclasses import dataclass, field + +import numpy as np + + + +sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) + +import sopcc + +CLOCK_TICKS = os.sysconf("SC_CLK_TCK") +CPU_POLL_INTERVAL = 2.0 +PR_SET_CHILD_SUBREAPER = 36 + +_LOCK = threading.Lock() +_WORKERS: set[int] = set() +_ESCAPED_CPU = 0.0 + + +@dataclass +class Sandbox: + """Resource and privilege policy applied to every candidate process.""" + + cpu_seconds: float = 75.0 + timeout: float = 150.0 + address_space_bytes: int = 6 * 1024 ** 3 + file_size_bytes: int = 64 * 1024 ** 2 + open_files: int = 256 + run_as_uid: int | None = None + run_as_gid: int | None = None + new_session: bool = True + env: dict = field(default_factory=dict) + + +class WorkerGone(Exception): + """The candidate process died, hung, or stopped speaking the protocol.""" + + +class _LineChannel: + """Deadline-bounded line reads straight off a pipe fd.""" + + def __init__(self, fd: int): + self.fd = fd + self.buf = b"" + + def readline(self, deadline: float) -> bytes: + while b"\n" not in self.buf: + left = deadline - time.monotonic() + if left <= 0: + raise WorkerGone("wall-clock budget exhausted") + ready, _, _ = select.select([self.fd], [], [], min(left, 0.5)) + if not ready: + continue + chunk = os.read(self.fd, 1 << 16) + if not chunk: + raise WorkerGone("candidate process closed the channel") + self.buf += chunk + line, _, self.buf = self.buf.partition(b"\n") + return line + + +def _write_line(fd: int, payload: bytes, deadline: float) -> None: + view = memoryview(payload + b"\n") + while view: + left = deadline - time.monotonic() + if left <= 0: + raise WorkerGone("wall-clock budget exhausted") + _, ready, _ = select.select([], [fd], [], min(left, 0.5)) + if not ready: + continue + try: + written = os.write(fd, view) + except (BrokenPipeError, OSError) as exc: + raise WorkerGone(f"candidate process is not reading: {exc}") from exc + view = view[written:] + + +def _become_subreaper() -> None: + """Adopt orphaned descendants of every candidate instead of leaving them to init. + + A candidate that forks and lets the parent exit would otherwise hand the orphan to pid 1, + outside any tree walked below. With this set, such an orphan is re-parented to this process, + where `_tree` recognises it (a child of ours that is not a worker we started) and it is + charged, killed and reaped along with the candidate's own tree. + """ + try: + ctypes.CDLL(None, use_errno=True).prctl(PR_SET_CHILD_SUBREAPER, 1, 0, 0, 0) + except (OSError, AttributeError): + pass + + +def _scan() -> dict[int, tuple[int, float]]: + """pid -> (ppid, CPU seconds) for every live process. + + The CPU figure is utime + stime + cutime + cstime: the process's own threads plus every + child it has already reaped, so a helper that burns CPU and exits between two scans is + still charged to whoever reaped it. + """ + procs: dict[int, tuple[int, float]] = {} + try: + names = os.listdir("/proc") + except OSError: + return procs + for name in names: + if not name.isdigit(): + continue + try: + with open(f"/proc/{name}/stat", "rb") as fh: + raw = fh.read() + except OSError: + continue + cut = raw.rfind(b")") + if cut < 0: + continue + fields = raw[cut + 2:].split() + if len(fields) < 15: + continue + try: + procs[int(name)] = (int(fields[1]), + sum(int(f) for f in fields[11:15]) / CLOCK_TICKS) + except ValueError: + continue + return procs + + +def _tree(procs: dict[int, tuple[int, float]], root: int) -> tuple[set[int], set[int]]: + """(`root` plus its live descendants, adopted orphans plus theirs), both by parent pid. + + Parentage is what setsid(2) cannot change, which is why the session id is not used. An + adopted orphan (a child of this process that is not a worker it started) cannot be + attributed to one instance, so it is charged to every instance: the candidate is the same + code in each of them. Call with `_LOCK` held. + """ + children: dict[int, list[int]] = {} + for pid, (ppid, _) in procs.items(): + children.setdefault(ppid, []).append(pid) + + def walk(roots) -> set[int]: + members: set[int] = set() + stack = list(roots) + while stack: + pid = stack.pop() + if pid in members: + continue + members.add(pid) + stack.extend(children.get(pid, [])) + return members + + own = walk([root]) + orphans = walk(pid for pid in children.get(os.getpid(), []) if pid not in _WORKERS) - own + return own, orphans + + +def _charge(procs: dict[int, tuple[int, float]], own: set[int], orphans: set[int]) -> float: + return sum(procs[pid][1] for pid in own | orphans if pid in procs) + _ESCAPED_CPU + + +def _tree_cpu(root: int) -> float: + """CPU seconds the instance rooted at `root` is charged for right now.""" + with _LOCK: + procs = _scan() + return _charge(procs, *_tree(procs, root)) + + +def _end_instance(proc) -> float: + """Kill the instance's tree, reap what this process adopted, and return the final charge.""" + global _ESCAPED_CPU + with _LOCK: + procs = _scan() + own, orphans = _tree(procs, proc.pid) + charge = _charge(procs, own, orphans) + try: + os.killpg(proc.pid, signal.SIGKILL) + except (ProcessLookupError, PermissionError, OSError): + pass + for _ in range(2): + for pid in set().union(*_tree(_scan(), proc.pid)): + try: + os.kill(pid, signal.SIGKILL) + except (ProcessLookupError, PermissionError, OSError): + pass + try: + proc.stdin.close() + proc.stdout.close() + except OSError: + pass + try: + proc.wait(timeout=10) + except Exception: + pass + _WORKERS.discard(proc.pid) + + + + deadline = time.monotonic() + 5.0 + while True: + pending = 0 + for pid, (ppid, cpu) in _scan().items(): + if ppid != os.getpid() or pid in _WORKERS: + continue + try: + reaped, _ = os.waitpid(pid, os.WNOHANG) + except ChildProcessError: + continue + if not reaped: + pending += 1 + elif pid not in own: + _ESCAPED_CPU += cpu + if not pending or time.monotonic() >= deadline: + break + time.sleep(0.05) + return charge + + +def validate_solution_dir(path: str, max_bytes: int) -> tuple[bool, str, int]: + """Reject a deliverable tree that is missing, oversized, or contains links. + + A symlink or a hard link inside a tree the harness copies is an attempt to make a + privileged copy materialise a file from somewhere else, so it is refused outright + rather than followed. + """ + if not os.path.isdir(path): + return False, f"no deliverable directory at {path}", 0 + if os.path.islink(path): + return False, "deliverable directory is a symlink", 0 + total = 0 + for root, dirs, files in os.walk(path, followlinks=False): + for name in dirs + files: + full = os.path.join(root, name) + info = os.lstat(full) + if stat.S_ISLNK(info.st_mode): + return False, f"symlink in deliverable: {os.path.relpath(full, path)}", total + if stat.S_ISREG(info.st_mode): + if info.st_nlink > 1: + return False, f"hard link in deliverable: {os.path.relpath(full, path)}", total + total += info.st_size + elif not stat.S_ISDIR(info.st_mode): + return False, f"non-regular file in deliverable: {os.path.relpath(full, path)}", total + if total > max_bytes: + return False, f"deliverable exceeds {max_bytes} bytes", total + if not os.path.isfile(os.path.join(path, "policy.py")): + return False, f"no entry point at {os.path.join(path, 'policy.py')}", total + return True, "ok", total + + +def stage_candidate(src: str, dst: str, own_uid: int | None = None) -> str: + """Copy a validated deliverable to a location the candidate cannot rewrite mid-grade. + + `src` is treated as hostile and must already have passed `validate_solution_dir`; the + copy keeps symlinks as symlinks rather than following them. The caller is responsible + for `dst`'s parent being traversable by the uid the candidate runs as. + """ + if os.path.exists(dst): + shutil.rmtree(dst) + shutil.copytree(src, dst, symlinks=True) + for root, dirs, files in os.walk(dst): + for name in dirs: + os.chmod(os.path.join(root, name), 0o755) + for name in files: + os.chmod(os.path.join(root, name), 0o644) + os.chmod(dst, 0o755) + if own_uid is not None: + for root, dirs, files in os.walk(dst): + for name in dirs + files: + os.chown(os.path.join(root, name), own_uid, own_uid) + os.chown(dst, own_uid, own_uid) + return dst + + +def _instance_payload(instance: dict) -> dict: + return { + "coords": instance["coords"].tolist(), + "rewards": instance["rewards"].tolist(), + "dist": instance["dist"].tolist(), + "start": int(instance["start"]), + "goal": int(instance["goal"]), + "budget": float(instance["budget"]), + "p_fail": float(instance["p_fail"]), + "cost_model": str(instance["cost_model"]), + } + + +def run_instance( + sandbox: Sandbox, + candidate_dir: str, + worker_path: str, + python_exe: str, + instance: dict, + noise: np.ndarray, + seed: int, + episodes: int = sopcc.EPISODES_PER_INSTANCE, +) -> dict: + """Grade one instance: `episodes` episodes of one candidate process.""" + import subprocess + + limits = { + "cpu_seconds": float(sandbox.cpu_seconds), + "address_space_bytes": int(sandbox.address_space_bytes), + "file_size_bytes": int(sandbox.file_size_bytes), + "open_files": int(sandbox.open_files), + } + cmd = [python_exe, "-I", "-B", worker_path, candidate_dir, json.dumps(limits)] + privilege = {} + if sandbox.run_as_uid is not None: + privilege = {"user": int(sandbox.run_as_uid), + "group": int(sandbox.run_as_gid if sandbox.run_as_gid is not None + else sandbox.run_as_uid), + "extra_groups": []} + + + + scratch = tempfile.mkdtemp(prefix="sopcc-run-") + if sandbox.run_as_uid is not None: + os.chown(scratch, int(sandbox.run_as_uid), + int(sandbox.run_as_gid if sandbox.run_as_gid is not None + else sandbox.run_as_uid)) + os.chmod(scratch, 0o700) + env = { + "PATH": "/usr/local/bin:/usr/local/sbin:/usr/bin:/bin", + "HOME": scratch, + "TMPDIR": scratch, + "PYTHONHASHSEED": "0", + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + } + env.update(sandbox.env) + + errlog = open(os.path.join(scratch, "stderr.log"), "w+b") + deadline = time.monotonic() + float(sandbox.timeout) + report = { + "seed": int(seed), + "episodes": [], + "cpu_seconds": 0.0, + "wall_seconds": 0.0, + "abort": None, + "stderr_tail": "", + } + started = time.monotonic() + proc = None + _become_subreaper() + try: + with _LOCK: + proc = subprocess.Popen( + cmd, + stdin=subprocess.PIPE, + stdout=subprocess.PIPE, + stderr=errlog, + cwd="/", + env=env, + close_fds=True, + start_new_session=bool(sandbox.new_session), + **privilege, + ) + _WORKERS.add(proc.pid) + try: + resource.prlimit(proc.pid, resource.RLIMIT_CPU, + (int(sandbox.cpu_seconds) + 1, int(sandbox.cpu_seconds) + 3)) + except (PermissionError, ProcessLookupError, OSError): + pass + reader = _LineChannel(proc.stdout.fileno()) + writer = proc.stdin.fileno() + + next_poll = [time.monotonic()] + + def _exchange(payload: dict) -> dict: + _write_line(writer, json.dumps(payload).encode(), deadline) + now = time.monotonic() + if now >= next_poll[0]: + next_poll[0] = now + CPU_POLL_INTERVAL + cpu = _tree_cpu(proc.pid) + report["cpu_seconds"] = max(report["cpu_seconds"], cpu) + if cpu > sandbox.cpu_seconds: + raise WorkerGone(f"cpu budget exhausted ({cpu:.1f}s)") + line = reader.readline(deadline) + try: + return json.loads(line) + except (ValueError, UnicodeDecodeError) as exc: + raise WorkerGone(f"unparseable reply: {exc}") from exc + + ack = _exchange({"cmd": "init", "seed": int(seed), + "instance": _instance_payload(instance)}) + if not ack.get("ok"): + report["abort"] = f"{ack.get('stage', 'init')}: {ack.get('error', 'refused')}" + raise WorkerGone(report["abort"]) + + for episode in range(int(episodes)): + def choose(obs): + message = { + "cmd": "act", + "obs": { + "current": int(obs["current"]), + "visited": [bool(v) for v in obs["visited"]], + "remaining_budget": float(obs["remaining_budget"]), + "collected_reward": float(obs["collected_reward"]), + "step": int(obs["step"]), + }, + } + answer = _exchange(message) + if not answer.get("ok"): + raise sopcc.InvalidAction( + f"policy raised {answer.get('error', 'an exception')}") + action = answer.get("action") + if action is None: + raise sopcc.InvalidAction( + f"action is {answer.get('kind', 'None')}, not an int") + return int(action) + + outcome = sopcc.run_episode(instance, noise[episode], choose) + report["episodes"].append(outcome) + except WorkerGone as exc: + report["abort"] = report["abort"] or str(exc) + except Exception as exc: + report["abort"] = f"{type(exc).__name__}: {exc}" + finally: + if proc is not None: + report["cpu_seconds"] = max(report["cpu_seconds"], _end_instance(proc)) + report["wall_seconds"] = time.monotonic() - started + try: + errlog.seek(0) + report["stderr_tail"] = errlog.read(4096).decode("utf-8", "replace") + except OSError: + pass + errlog.close() + shutil.rmtree(scratch, ignore_errors=True) + + while len(report["episodes"]) < int(episodes): + report["episodes"].append( + {"delivered": 0.0, "failed": True, + "reason": f"aborted: {report['abort'] or 'unknown'}", "visits": 0, + "traversals": 0}) + return report + + +def grade_panel( + panel, + sandbox: Sandbox, + candidate_dir: str, + worker_path: str, + python_exe: str | None = None, + workers: int = 8, + seed_base: int = 1000, + episodes: int = sopcc.EPISODES_PER_INSTANCE, + retry_budget: int = 4, +) -> dict: + """Grade a whole panel, at most `workers` instances at a time, and aggregate the metric.""" + python_exe = python_exe or sys.executable + reports: list[dict | None] = [None] * len(panel) + with ThreadPoolExecutor(max_workers=max(1, min(workers, len(panel)))) as pool: + futures = { + pool.submit( + run_instance, sandbox, candidate_dir, worker_path, python_exe, + panel[i]["instance"], panel[i]["noise"], seed_base + i, episodes, + ): i + for i in range(len(panel)) + } + for future, i in futures.items(): + reports[i] = future.result() + + + + + retries = [] + for i, report in enumerate(reports): + if retry_budget <= 0: + break + abort = report["abort"] or "" + infra = ("closed the channel" in abort) or ("is not reading" in abort) + if not infra or report["wall_seconds"] > 0.25 * sandbox.timeout: + continue + retry_budget -= 1 + retries.append({"instance": i, "first_abort": abort}) + reports[i] = run_instance( + sandbox, candidate_dir, worker_path, python_exe, + panel[i]["instance"], panel[i]["noise"], seed_base + i, episodes) + + delivered, failed, draws = [], [], [] + for i, report in enumerate(reports): + for outcome in report["episodes"]: + delivered.append(outcome["delivered"]) + failed.append(outcome["failed"]) + draws.append(panel[i].get("draw", 0)) + summary = sopcc.panel_metric(delivered, failed) + delivered_arr = np.asarray(delivered, dtype=np.float64) + failed_arr = np.asarray(failed, dtype=bool) + draw_arr = np.asarray(draws, dtype=np.int64) + per_draw = {} + for draw in sorted(set(draws)): + mask = draw_arr == draw + per_draw[int(draw)] = sopcc.panel_metric(delivered_arr[mask], failed_arr[mask]) + summary["per_draw"] = per_draw + summary["draw_metric_mean"] = float( + np.mean([per_draw[d]["metric"] for d in sorted(per_draw)])) if per_draw else 0.0 + summary["instances"] = len(panel) + summary["retried_instances"] = retries + summary["aborted_instances"] = sum(1 for r in reports if r["abort"]) + summary["max_cpu_seconds"] = max((r["cpu_seconds"] for r in reports), default=0.0) + summary["max_wall_seconds"] = max((r["wall_seconds"] for r in reports), default=0.0) + summary["reports"] = reports + return summary diff --git a/tasks/sopcc-online-chance-constrained-policy/environment/app/harness/sopcc.py b/tasks/sopcc-online-chance-constrained-policy/environment/app/harness/sopcc.py new file mode 100644 index 0000000000000000000000000000000000000000..a9070eca242226f7bf62e4702fad58dafac7ad76 --- /dev/null +++ b/tasks/sopcc-online-chance-constrained-policy/environment/app/harness/sopcc.py @@ -0,0 +1,212 @@ +from __future__ import annotations + +import numpy as np + + +N_VERTICES = 40 +START = 0 +GOAL = 1 +BUDGET = 2.0 +P_FAIL = 0.1 +COST_MODEL = "exponential_mean_equals_euclidean" + + +EPISODES_PER_INSTANCE = 32 +MAX_TRAVERSALS = 48 + + +FAILURE_ALLOWANCE = 0.10 +PENALTY_SLOPE = 10.0 + + +DEV_ENTROPY = 20240917 +DEV_DRAWS = 4 +DEV_INSTANCES_PER_DRAW = 50 + + +def instance_seed(entropy: int, index: int) -> np.random.SeedSequence: + """Seed sequence for instance `index` of the family rooted at `entropy`.""" + return np.random.SeedSequence(entropy=int(entropy), spawn_key=(int(index), 0)) + + +def noise_seed(entropy: int, index: int, variant: int = 0) -> np.random.SeedSequence: + """Seed sequence for the pre-drawn cost noise of instance `index`. + + `variant` draws an independent noise realisation for the same instance, which is how the + build measures the metric's own sampling noise. + """ + key = (int(index), 1) if int(variant) == 0 else (int(index), 1, int(variant)) + return np.random.SeedSequence(entropy=int(entropy), spawn_key=key) + + +def euclidean_matrix(coords: np.ndarray) -> np.ndarray: + diff = coords[:, None, :] - coords[None, :, :] + dist = np.sqrt((diff * diff).sum(axis=-1)) + np.fill_diagonal(dist, 0.0) + return dist + + +def make_instance(seed_sequence: np.random.SeedSequence) -> dict: + """One SOPCC instance: complete graph, U[0,1]^2 coordinates, U[0,1] vertex rewards. + + The start and goal vertex rewards are forced to 0.0, so no reward is collected for + free by starting or finishing. + """ + rng = np.random.Generator(np.random.PCG64(seed_sequence)) + coords = rng.random((N_VERTICES, 2)) + rewards = rng.random(N_VERTICES) + rewards[START] = 0.0 + rewards[GOAL] = 0.0 + return instance_from_arrays(coords, rewards) + + +def instance_from_arrays(coords: np.ndarray, rewards: np.ndarray) -> dict: + coords = np.ascontiguousarray(coords, dtype=np.float64) + rewards = np.ascontiguousarray(rewards, dtype=np.float64) + return { + "coords": coords, + "rewards": rewards, + "dist": euclidean_matrix(coords), + "start": START, + "goal": GOAL, + "budget": BUDGET, + "p_fail": P_FAIL, + "cost_model": COST_MODEL, + } + + +def make_noise( + seed_sequence: np.random.SeedSequence, + episodes: int = EPISODES_PER_INSTANCE, + traversals: int = MAX_TRAVERSALS, +) -> np.ndarray: + """Pre-drawn unit-Exponential cost multipliers, one row of `traversals` per episode. + + The realised cost of the k-th traversal of an episode is `dist[u, v] * noise[k]`, so + every traversal costs an Exponential variate with mean equal to the Euclidean edge + length, and two submissions see the identical random stream. + """ + rng = np.random.Generator(np.random.PCG64(seed_sequence)) + return rng.exponential(1.0, size=(int(episodes), int(traversals))) + + +def make_dev_panel(draws: int = DEV_DRAWS, instances_per_draw: int = DEV_INSTANCES_PER_DRAW): + """The public dev panel: `draws` independent draws of `instances_per_draw` instances.""" + panel = [] + for draw in range(int(draws)): + for k in range(int(instances_per_draw)): + index = draw * int(instances_per_draw) + k + panel.append( + { + "draw": draw, + "index": index, + "instance": make_instance(instance_seed(DEV_ENTROPY, index)), + "noise": make_noise(noise_seed(DEV_ENTROPY, index)), + } + ) + return panel + + +class InvalidAction(Exception): + """The policy returned something that is not a legal next vertex.""" + + +def check_action(action, current: int, visited: np.ndarray) -> int: + """Validate one action, returning it as an int or raising InvalidAction.""" + if isinstance(action, bool) or not isinstance(action, (int, np.integer)): + raise InvalidAction(f"action is {type(action).__name__}, not an int") + a = int(action) + if not 0 <= a < N_VERTICES: + raise InvalidAction(f"action {a} out of range") + if a == current: + raise InvalidAction("action is the current vertex") + if a != GOAL and visited[a]: + raise InvalidAction(f"action {a} is an already visited vertex") + return a + + +def run_episode(instance: dict, noise_row: np.ndarray, choose) -> dict: + """Drive one episode. `choose(obs)` returns the next vertex, or raises. + + Returns a dict with `delivered` (0.0 unless the goal was reached inside budget), + `failed`, `reason`, `visits` (count of distinct non-start vertices collected) and + `traversals`. + """ + dist = instance["dist"] + rewards = instance["rewards"] + visited = np.zeros(N_VERTICES, dtype=bool) + visited[START] = True + current = START + remaining = float(instance["budget"]) + collected = 0.0 + step = 0 + + while True: + if step >= MAX_TRAVERSALS: + return _failed("traversal_cap", collected, step) + obs = { + "current": int(current), + "visited": visited.copy(), + "remaining_budget": float(remaining), + "collected_reward": float(collected), + "step": int(step), + } + try: + action = check_action(choose(obs), current, visited) + except InvalidAction as exc: + return _failed(f"invalid_action: {exc}", collected, step) + cost = float(dist[current, action]) * float(noise_row[step]) + remaining -= cost + step += 1 + if remaining < 0.0: + return _failed("budget_exhausted", collected, step) + if action == GOAL: + return { + "delivered": float(collected), + "failed": False, + "reason": "goal", + "visits": int(visited.sum()) - 1, + "traversals": step, + "remaining_budget": float(remaining), + } + visited[action] = True + collected += float(rewards[action]) + current = action + + +def _failed(reason: str, collected: float, step: int) -> dict: + return { + "delivered": 0.0, + "failed": True, + "reason": reason, + "visits": 0, + "traversals": int(step), + "collected_when_failed": float(collected), + } + + +def penalty(failure_rate: float) -> float: + """1.0 while the failure rate respects the allowance, ramping linearly to 0.0.""" + f = float(failure_rate) + if f <= FAILURE_ALLOWANCE: + return 1.0 + return max(0.0, 1.0 - PENALTY_SLOPE * (f - FAILURE_ALLOWANCE)) + + +def panel_metric(delivered, failed) -> dict: + """Penalised mean delivered reward over a panel of episodes.""" + delivered = np.asarray(delivered, dtype=np.float64) + failed = np.asarray(failed, dtype=bool) + if delivered.size == 0: + return {"metric": 0.0, "R": 0.0, "F": 1.0, "penalty": 0.0, "episodes": 0} + R = float(delivered.mean()) + F = float(failed.mean()) + p = penalty(F) + return { + "metric": R * p, + "R": R, + "F": F, + "penalty": p, + "episodes": int(delivered.size), + "delivered_std": float(delivered.std(ddof=1)) if delivered.size > 1 else 0.0, + } diff --git a/tasks/sopcc-online-chance-constrained-policy/environment/requirements.txt b/tasks/sopcc-online-chance-constrained-policy/environment/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..01ccb069ac7a13550ab665749d672a28a21aaada --- /dev/null +++ b/tasks/sopcc-online-chance-constrained-policy/environment/requirements.txt @@ -0,0 +1,5 @@ +--index-url https://download.pytorch.org/whl/cpu +--extra-index-url https://pypi.org/simple +numpy==2.5.2 +scipy==1.18.0 +torch==2.13.0+cpu diff --git a/tasks/sopcc-online-chance-constrained-policy/hints/hint.md b/tasks/sopcc-online-chance-constrained-policy/hints/hint.md new file mode 100644 index 0000000000000000000000000000000000000000..2741f1f41c78705138b41dc52daf6587d4cf9058 --- /dev/null +++ b/tasks/sopcc-online-chance-constrained-policy/hints/hint.md @@ -0,0 +1 @@ +Build the tour offline with beam search over insertion sequences and repair it online rather than replanning; keep an ensemble of plans built under different assumed caps. The travel costs are exponential, so the probability of finishing within the remaining budget is closed form - use it for the continue-or-return decision. The penalty is flat until the cap, so tune the risk price until the realised failure rate sits just under it; graded runs consistently come in far below and leave reward unclaimed. diff --git a/tasks/sopcc-online-chance-constrained-policy/tests/Dockerfile b/tasks/sopcc-online-chance-constrained-policy/tests/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..eecf368ab2e270d72769fce908d380caafac46d0 --- /dev/null +++ b/tasks/sopcc-online-chance-constrained-policy/tests/Dockerfile @@ -0,0 +1,34 @@ +FROM --platform=linux/amd64 public.ecr.aws/docker/library/python:3.13-slim-bookworm@sha256:01f42367a0a94ad4bc17111776fd66e3500c1d87c15bbd6055b7371d39c124fb + +ENTRYPOINT [] +ENV PYTHONPATH= +ENV PYTHONSAFEPATH=1 +ENV DEBIAN_FRONTEND=noninteractive \ + PYTHONHASHSEED=0 \ + PIP_NO_CACHE_DIR=1 \ + PIP_DISABLE_PIP_VERSION_CHECK=1 \ + OMP_NUM_THREADS=1 \ + MKL_NUM_THREADS=1 \ + OPENBLAS_NUM_THREADS=1 + +RUN useradd --create-home --uid 1001 agent + +COPY ./requirements.txt /tmp/requirements.txt +COPY ./requirements-verifier.txt /tmp/requirements-verifier.txt +RUN /usr/local/bin/python3 -m pip install --no-cache-dir \ + -r /tmp/requirements.txt -r /tmp/requirements-verifier.txt \ + && rm /tmp/requirements.txt /tmp/requirements-verifier.txt + +RUN mkdir -p /app/solution /logs/verifier + +COPY . /tests + +RUN chown -R root:root /tests \ + && chmod 700 /tests/hidden_data /tests/hidden_data/intermediate /tests/hidden_data/final \ + && chmod +x /tests/test.sh /tests/intermediate.sh \ + && find /tests -exec touch -d @1700000000 {} + + +WORKDIR /tests + +ENV HF_HUB_OFFLINE=1 +ENV TRANSFORMERS_OFFLINE=1 diff --git a/tasks/sopcc-online-chance-constrained-policy/tests/compute_reward.py b/tasks/sopcc-online-chance-constrained-policy/tests/compute_reward.py new file mode 100644 index 0000000000000000000000000000000000000000..711a62a5a0d08a6a0956ab171990c6d9f5dca07a --- /dev/null +++ b/tasks/sopcc-online-chance-constrained-policy/tests/compute_reward.py @@ -0,0 +1,18 @@ +import json +import math +from pathlib import Path + +REWARD_PATH = Path("/logs/verifier/reward.txt") + +try: + value = float(json.loads(Path("/logs/verifier/metric.json").read_text())["reward"]) + if not math.isfinite(value): + raise ValueError("non-finite reward") + reward = f"{min(1.0, max(0.0, value)):.12g}" + REWARD_PATH.parent.mkdir(parents=True, exist_ok=True) + REWARD_PATH.write_text(reward + "\n") + print(f"reward={reward}") +except Exception as exc: + REWARD_PATH.parent.mkdir(parents=True, exist_ok=True) + REWARD_PATH.write_text("0\n") + print(f"reward=0 (fallback: {exc})") diff --git a/tasks/sopcc-online-chance-constrained-policy/tests/grader_core.py b/tasks/sopcc-online-chance-constrained-policy/tests/grader_core.py new file mode 100644 index 0000000000000000000000000000000000000000..606789088fce4a400b64599484828c02b122a180 --- /dev/null +++ b/tasks/sopcc-online-chance-constrained-policy/tests/grader_core.py @@ -0,0 +1,46 @@ +from __future__ import annotations + +import sys +from pathlib import Path + +import numpy as np + +sys.path.insert(0, str(Path(__file__).resolve().parent)) + +import sopcc + +HIDDEN = Path(__file__).resolve().parent / "hidden_data" +SPLITS = ("final", "intermediate") + +ANCHORS = { + + "final": (4.212162974044415, 5.403678393388951), + "intermediate": (4.90108511497506, 5.935456731233547), +} + + +def load_panel(split: str): + """The sealed panel for `split`: instances plus their pre-drawn cost noise.""" + if split not in SPLITS: + raise ValueError(f"unknown split {split!r}") + with np.load(HIDDEN / split / "panel.npz") as data: + coords, rewards, noise, draw = (data["coords"], data["rewards"], + data["noise"], data["draw"]) + return [ + {"draw": int(draw[i]), "index": i, + "instance": sopcc.instance_from_arrays(coords[i], rewards[i]), + "noise": noise[i]} + for i in range(coords.shape[0]) + ] + + +def graded_reward(metric: float, split: str) -> float: + """Map the raw metric to a reward in [0, 1): 0 at m0, 0.5 at m_ref, no cutoff above.""" + m0, m_ref = ANCHORS[split] + x_ref = m_ref - m0 + if not x_ref > 0: + raise AssertionError("malformed task: the reference does not beat the trivial baseline") + if not np.isfinite(metric): + return 0.0 + u = max(0.0, float(metric) - m0) / x_ref + return u / (1.0 + u) diff --git a/tasks/sopcc-online-chance-constrained-policy/tests/intermediate.sh b/tasks/sopcc-online-chance-constrained-policy/tests/intermediate.sh new file mode 100644 index 0000000000000000000000000000000000000000..137c82cad46d77990b2aee4d2f80fb3a57716a62 --- /dev/null +++ b/tasks/sopcc-online-chance-constrained-policy/tests/intermediate.sh @@ -0,0 +1,29 @@ +#!/bin/bash + + +set -u + + + +reward_floor() { + if [ ! -s /logs/verifier/reward.txt ]; then + mkdir -p /logs/verifier + printf '0\n' > /logs/verifier/reward.txt + fi +} +trap reward_floor EXIT + +mkdir -p /logs/verifier +chown root:root /logs/verifier 2>/dev/null || true +chmod 755 /logs/verifier 2>/dev/null || true +rm -f /logs/verifier/reward.txt /logs/verifier/ctrf.json /logs/verifier/metric.json + +chmod -R go-rwx /tests + +cd /tests +export GRADE_SPLIT=intermediate +/usr/local/bin/python3 -m pytest \ + --ctrf /logs/verifier/ctrf.json /tests/test_state.py -rA +/usr/local/bin/python3 /tests/compute_reward.py + +exit 0 diff --git a/tasks/sopcc-online-chance-constrained-policy/tests/policy_worker.py b/tasks/sopcc-online-chance-constrained-policy/tests/policy_worker.py new file mode 100644 index 0000000000000000000000000000000000000000..e8bf3c99d4ffa5f64c330feae9268ffe5e83048c --- /dev/null +++ b/tasks/sopcc-online-chance-constrained-policy/tests/policy_worker.py @@ -0,0 +1,132 @@ +from __future__ import annotations + +import importlib.util +import json +import os +import resource +import sys +import traceback + + +def _fail(reply, stage, exc): + reply({"ok": False, "stage": stage, "error": f"{type(exc).__name__}: {exc}", + "traceback": traceback.format_exc(limit=6)[-1200:]}) + + +def _apply_limits(limits: dict) -> None: + """Cap this process before any candidate code is imported. + + Set here rather than by the caller so there is no window between exec and the cap, and + the hard limit is set too: candidate code can lower these but never raise them. + """ + cpu = int(limits["cpu_seconds"]) + resource.setrlimit(resource.RLIMIT_CPU, (cpu + 1, cpu + 3)) + for name, key in (("RLIMIT_AS", "address_space_bytes"), + ("RLIMIT_FSIZE", "file_size_bytes"), + ("RLIMIT_NOFILE", "open_files")): + value = int(limits[key]) + soft, hard = resource.getrlimit(getattr(resource, name)) + if hard != resource.RLIM_INFINITY: + value = min(value, hard) + resource.setrlimit(getattr(resource, name), (value, value)) + resource.setrlimit(resource.RLIMIT_CORE, (0, 0)) + + +def main() -> int: + solution_dir = os.path.abspath(sys.argv[1]) + entry = os.path.join(solution_dir, "policy.py") + _apply_limits(json.loads(sys.argv[2])) + + reply_fd = os.dup(1) + os.dup2(2, 1) + sys.stdout = sys.stderr + channel = os.fdopen(reply_fd, "w", buffering=1) + + def reply(obj): + channel.write(json.dumps(obj) + "\n") + channel.flush() + + import numpy as np + try: + import torch + torch.set_num_threads(1) + except ImportError: + pass + + policy = None + for raw in sys.stdin: + raw = raw.strip() + if not raw: + continue + msg = json.loads(raw) + cmd = msg.get("cmd") + + if cmd == "init": + if not os.path.isfile(entry): + reply({"ok": False, "stage": "import", "error": f"no entry point at {entry}"}) + return 0 + try: + if solution_dir not in sys.path: + sys.path.insert(0, solution_dir) + spec = importlib.util.spec_from_file_location("candidate_policy", entry) + module = importlib.util.module_from_spec(spec) + sys.modules["candidate_policy"] = module + spec.loader.exec_module(module) + policy_cls = getattr(module, "Policy") + except Exception as exc: + _fail(reply, "import", exc) + return 0 + try: + policy = policy_cls(int(msg["seed"])) + except Exception as exc: + _fail(reply, "construct", exc) + return 0 + try: + instance = { + "coords": np.asarray(msg["instance"]["coords"], dtype=np.float64), + "rewards": np.asarray(msg["instance"]["rewards"], dtype=np.float64), + "dist": np.asarray(msg["instance"]["dist"], dtype=np.float64), + "start": int(msg["instance"]["start"]), + "goal": int(msg["instance"]["goal"]), + "budget": float(msg["instance"]["budget"]), + "p_fail": float(msg["instance"]["p_fail"]), + "cost_model": str(msg["instance"]["cost_model"]), + } + policy.prepare(instance) + except Exception as exc: + _fail(reply, "prepare", exc) + return 0 + reply({"ok": True}) + + elif cmd == "act": + obs = msg["obs"] + obs = { + "current": int(obs["current"]), + "visited": np.asarray(obs["visited"], dtype=bool), + "remaining_budget": float(obs["remaining_budget"]), + "collected_reward": float(obs["collected_reward"]), + "step": int(obs["step"]), + } + try: + action = policy.act(obs) + except Exception as exc: + reply({"ok": False, "stage": "act", + "error": f"{type(exc).__name__}: {exc}"}) + continue + if isinstance(action, bool) or not isinstance(action, (int, np.integer)): + reply({"ok": True, "action": None, + "kind": type(action).__name__}) + else: + reply({"ok": True, "action": int(action)}) + + elif cmd == "bye": + return 0 + + else: + reply({"ok": False, "stage": "protocol", "error": f"unknown command {cmd!r}"}) + return 0 + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/tasks/sopcc-online-chance-constrained-policy/tests/requirements-verifier.txt b/tasks/sopcc-online-chance-constrained-policy/tests/requirements-verifier.txt new file mode 100644 index 0000000000000000000000000000000000000000..04676c89520bf969f2cb861ad1811f46d8370700 --- /dev/null +++ b/tasks/sopcc-online-chance-constrained-policy/tests/requirements-verifier.txt @@ -0,0 +1,2 @@ +pytest==8.3.5 +pytest-json-ctrf==0.3.5 diff --git a/tasks/sopcc-online-chance-constrained-policy/tests/requirements.txt b/tasks/sopcc-online-chance-constrained-policy/tests/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..01ccb069ac7a13550ab665749d672a28a21aaada --- /dev/null +++ b/tasks/sopcc-online-chance-constrained-policy/tests/requirements.txt @@ -0,0 +1,5 @@ +--index-url https://download.pytorch.org/whl/cpu +--extra-index-url https://pypi.org/simple +numpy==2.5.2 +scipy==1.18.0 +torch==2.13.0+cpu diff --git a/tasks/sopcc-online-chance-constrained-policy/tests/runner.py b/tasks/sopcc-online-chance-constrained-policy/tests/runner.py new file mode 100644 index 0000000000000000000000000000000000000000..5d41a6bdb2a42a69e51742ed157698e86f7d1402 --- /dev/null +++ b/tasks/sopcc-online-chance-constrained-policy/tests/runner.py @@ -0,0 +1,517 @@ +from __future__ import annotations + +import ctypes +import json +import os +import resource +import select +import shutil +import signal +import stat +import sys +import tempfile +import threading +import time +from concurrent.futures import ThreadPoolExecutor +from dataclasses import dataclass, field + +import numpy as np + + + +sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) + +import sopcc + +CLOCK_TICKS = os.sysconf("SC_CLK_TCK") +CPU_POLL_INTERVAL = 2.0 +PR_SET_CHILD_SUBREAPER = 36 + +_LOCK = threading.Lock() +_WORKERS: set[int] = set() +_ESCAPED_CPU = 0.0 + + +@dataclass +class Sandbox: + """Resource and privilege policy applied to every candidate process.""" + + cpu_seconds: float = 75.0 + timeout: float = 150.0 + address_space_bytes: int = 6 * 1024 ** 3 + file_size_bytes: int = 64 * 1024 ** 2 + open_files: int = 256 + run_as_uid: int | None = None + run_as_gid: int | None = None + new_session: bool = True + env: dict = field(default_factory=dict) + + +class WorkerGone(Exception): + """The candidate process died, hung, or stopped speaking the protocol.""" + + +class _LineChannel: + """Deadline-bounded line reads straight off a pipe fd.""" + + def __init__(self, fd: int): + self.fd = fd + self.buf = b"" + + def readline(self, deadline: float) -> bytes: + while b"\n" not in self.buf: + left = deadline - time.monotonic() + if left <= 0: + raise WorkerGone("wall-clock budget exhausted") + ready, _, _ = select.select([self.fd], [], [], min(left, 0.5)) + if not ready: + continue + chunk = os.read(self.fd, 1 << 16) + if not chunk: + raise WorkerGone("candidate process closed the channel") + self.buf += chunk + line, _, self.buf = self.buf.partition(b"\n") + return line + + +def _write_line(fd: int, payload: bytes, deadline: float) -> None: + view = memoryview(payload + b"\n") + while view: + left = deadline - time.monotonic() + if left <= 0: + raise WorkerGone("wall-clock budget exhausted") + _, ready, _ = select.select([], [fd], [], min(left, 0.5)) + if not ready: + continue + try: + written = os.write(fd, view) + except (BrokenPipeError, OSError) as exc: + raise WorkerGone(f"candidate process is not reading: {exc}") from exc + view = view[written:] + + +def _become_subreaper() -> None: + """Adopt orphaned descendants of every candidate instead of leaving them to init. + + A candidate that forks and lets the parent exit would otherwise hand the orphan to pid 1, + outside any tree walked below. With this set, such an orphan is re-parented to this process, + where `_tree` recognises it (a child of ours that is not a worker we started) and it is + charged, killed and reaped along with the candidate's own tree. + """ + try: + ctypes.CDLL(None, use_errno=True).prctl(PR_SET_CHILD_SUBREAPER, 1, 0, 0, 0) + except (OSError, AttributeError): + pass + + +def _scan() -> dict[int, tuple[int, float]]: + """pid -> (ppid, CPU seconds) for every live process. + + The CPU figure is utime + stime + cutime + cstime: the process's own threads plus every + child it has already reaped, so a helper that burns CPU and exits between two scans is + still charged to whoever reaped it. + """ + procs: dict[int, tuple[int, float]] = {} + try: + names = os.listdir("/proc") + except OSError: + return procs + for name in names: + if not name.isdigit(): + continue + try: + with open(f"/proc/{name}/stat", "rb") as fh: + raw = fh.read() + except OSError: + continue + cut = raw.rfind(b")") + if cut < 0: + continue + fields = raw[cut + 2:].split() + if len(fields) < 15: + continue + try: + procs[int(name)] = (int(fields[1]), + sum(int(f) for f in fields[11:15]) / CLOCK_TICKS) + except ValueError: + continue + return procs + + +def _tree(procs: dict[int, tuple[int, float]], root: int) -> tuple[set[int], set[int]]: + """(`root` plus its live descendants, adopted orphans plus theirs), both by parent pid. + + Parentage is what setsid(2) cannot change, which is why the session id is not used. An + adopted orphan (a child of this process that is not a worker it started) cannot be + attributed to one instance, so it is charged to every instance: the candidate is the same + code in each of them. Call with `_LOCK` held. + """ + children: dict[int, list[int]] = {} + for pid, (ppid, _) in procs.items(): + children.setdefault(ppid, []).append(pid) + + def walk(roots) -> set[int]: + members: set[int] = set() + stack = list(roots) + while stack: + pid = stack.pop() + if pid in members: + continue + members.add(pid) + stack.extend(children.get(pid, [])) + return members + + own = walk([root]) + orphans = walk(pid for pid in children.get(os.getpid(), []) if pid not in _WORKERS) - own + return own, orphans + + +def _charge(procs: dict[int, tuple[int, float]], own: set[int], orphans: set[int]) -> float: + return sum(procs[pid][1] for pid in own | orphans if pid in procs) + _ESCAPED_CPU + + +def _tree_cpu(root: int) -> float: + """CPU seconds the instance rooted at `root` is charged for right now.""" + with _LOCK: + procs = _scan() + return _charge(procs, *_tree(procs, root)) + + +def _end_instance(proc) -> float: + """Kill the instance's tree, reap what this process adopted, and return the final charge.""" + global _ESCAPED_CPU + with _LOCK: + procs = _scan() + own, orphans = _tree(procs, proc.pid) + charge = _charge(procs, own, orphans) + try: + os.killpg(proc.pid, signal.SIGKILL) + except (ProcessLookupError, PermissionError, OSError): + pass + for _ in range(2): + for pid in set().union(*_tree(_scan(), proc.pid)): + try: + os.kill(pid, signal.SIGKILL) + except (ProcessLookupError, PermissionError, OSError): + pass + try: + proc.stdin.close() + proc.stdout.close() + except OSError: + pass + try: + proc.wait(timeout=10) + except Exception: + pass + _WORKERS.discard(proc.pid) + + + + deadline = time.monotonic() + 5.0 + while True: + pending = 0 + for pid, (ppid, cpu) in _scan().items(): + if ppid != os.getpid() or pid in _WORKERS: + continue + try: + reaped, _ = os.waitpid(pid, os.WNOHANG) + except ChildProcessError: + continue + if not reaped: + pending += 1 + elif pid not in own: + _ESCAPED_CPU += cpu + if not pending or time.monotonic() >= deadline: + break + time.sleep(0.05) + return charge + + +def validate_solution_dir(path: str, max_bytes: int) -> tuple[bool, str, int]: + """Reject a deliverable tree that is missing, oversized, or contains links. + + A symlink or a hard link inside a tree the harness copies is an attempt to make a + privileged copy materialise a file from somewhere else, so it is refused outright + rather than followed. + """ + if not os.path.isdir(path): + return False, f"no deliverable directory at {path}", 0 + if os.path.islink(path): + return False, "deliverable directory is a symlink", 0 + total = 0 + for root, dirs, files in os.walk(path, followlinks=False): + for name in dirs + files: + full = os.path.join(root, name) + info = os.lstat(full) + if stat.S_ISLNK(info.st_mode): + return False, f"symlink in deliverable: {os.path.relpath(full, path)}", total + if stat.S_ISREG(info.st_mode): + if info.st_nlink > 1: + return False, f"hard link in deliverable: {os.path.relpath(full, path)}", total + total += info.st_size + elif not stat.S_ISDIR(info.st_mode): + return False, f"non-regular file in deliverable: {os.path.relpath(full, path)}", total + if total > max_bytes: + return False, f"deliverable exceeds {max_bytes} bytes", total + if not os.path.isfile(os.path.join(path, "policy.py")): + return False, f"no entry point at {os.path.join(path, 'policy.py')}", total + return True, "ok", total + + +def stage_candidate(src: str, dst: str, own_uid: int | None = None) -> str: + """Copy a validated deliverable to a location the candidate cannot rewrite mid-grade. + + `src` is treated as hostile and must already have passed `validate_solution_dir`; the + copy keeps symlinks as symlinks rather than following them. The caller is responsible + for `dst`'s parent being traversable by the uid the candidate runs as. + """ + if os.path.exists(dst): + shutil.rmtree(dst) + shutil.copytree(src, dst, symlinks=True) + for root, dirs, files in os.walk(dst): + for name in dirs: + os.chmod(os.path.join(root, name), 0o755) + for name in files: + os.chmod(os.path.join(root, name), 0o644) + os.chmod(dst, 0o755) + if own_uid is not None: + for root, dirs, files in os.walk(dst): + for name in dirs + files: + os.chown(os.path.join(root, name), own_uid, own_uid) + os.chown(dst, own_uid, own_uid) + return dst + + +def _instance_payload(instance: dict) -> dict: + return { + "coords": instance["coords"].tolist(), + "rewards": instance["rewards"].tolist(), + "dist": instance["dist"].tolist(), + "start": int(instance["start"]), + "goal": int(instance["goal"]), + "budget": float(instance["budget"]), + "p_fail": float(instance["p_fail"]), + "cost_model": str(instance["cost_model"]), + } + + +def run_instance( + sandbox: Sandbox, + candidate_dir: str, + worker_path: str, + python_exe: str, + instance: dict, + noise: np.ndarray, + seed: int, + episodes: int = sopcc.EPISODES_PER_INSTANCE, +) -> dict: + """Grade one instance: `episodes` episodes of one candidate process.""" + import subprocess + + limits = { + "cpu_seconds": float(sandbox.cpu_seconds), + "address_space_bytes": int(sandbox.address_space_bytes), + "file_size_bytes": int(sandbox.file_size_bytes), + "open_files": int(sandbox.open_files), + } + cmd = [python_exe, "-I", "-B", worker_path, candidate_dir, json.dumps(limits)] + privilege = {} + if sandbox.run_as_uid is not None: + privilege = {"user": int(sandbox.run_as_uid), + "group": int(sandbox.run_as_gid if sandbox.run_as_gid is not None + else sandbox.run_as_uid), + "extra_groups": []} + + + + scratch = tempfile.mkdtemp(prefix="sopcc-run-") + if sandbox.run_as_uid is not None: + os.chown(scratch, int(sandbox.run_as_uid), + int(sandbox.run_as_gid if sandbox.run_as_gid is not None + else sandbox.run_as_uid)) + os.chmod(scratch, 0o700) + env = { + "PATH": "/usr/local/bin:/usr/local/sbin:/usr/bin:/bin", + "HOME": scratch, + "TMPDIR": scratch, + "PYTHONHASHSEED": "0", + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + } + env.update(sandbox.env) + + errlog = open(os.path.join(scratch, "stderr.log"), "w+b") + deadline = time.monotonic() + float(sandbox.timeout) + report = { + "seed": int(seed), + "episodes": [], + "cpu_seconds": 0.0, + "wall_seconds": 0.0, + "abort": None, + "stderr_tail": "", + } + started = time.monotonic() + proc = None + _become_subreaper() + try: + with _LOCK: + proc = subprocess.Popen( + cmd, + stdin=subprocess.PIPE, + stdout=subprocess.PIPE, + stderr=errlog, + cwd="/", + env=env, + close_fds=True, + start_new_session=bool(sandbox.new_session), + **privilege, + ) + _WORKERS.add(proc.pid) + try: + resource.prlimit(proc.pid, resource.RLIMIT_CPU, + (int(sandbox.cpu_seconds) + 1, int(sandbox.cpu_seconds) + 3)) + except (PermissionError, ProcessLookupError, OSError): + pass + reader = _LineChannel(proc.stdout.fileno()) + writer = proc.stdin.fileno() + + next_poll = [time.monotonic()] + + def _exchange(payload: dict) -> dict: + _write_line(writer, json.dumps(payload).encode(), deadline) + now = time.monotonic() + if now >= next_poll[0]: + next_poll[0] = now + CPU_POLL_INTERVAL + cpu = _tree_cpu(proc.pid) + report["cpu_seconds"] = max(report["cpu_seconds"], cpu) + if cpu > sandbox.cpu_seconds: + raise WorkerGone(f"cpu budget exhausted ({cpu:.1f}s)") + line = reader.readline(deadline) + try: + return json.loads(line) + except (ValueError, UnicodeDecodeError) as exc: + raise WorkerGone(f"unparseable reply: {exc}") from exc + + ack = _exchange({"cmd": "init", "seed": int(seed), + "instance": _instance_payload(instance)}) + if not ack.get("ok"): + report["abort"] = f"{ack.get('stage', 'init')}: {ack.get('error', 'refused')}" + raise WorkerGone(report["abort"]) + + for episode in range(int(episodes)): + def choose(obs): + message = { + "cmd": "act", + "obs": { + "current": int(obs["current"]), + "visited": [bool(v) for v in obs["visited"]], + "remaining_budget": float(obs["remaining_budget"]), + "collected_reward": float(obs["collected_reward"]), + "step": int(obs["step"]), + }, + } + answer = _exchange(message) + if not answer.get("ok"): + raise sopcc.InvalidAction( + f"policy raised {answer.get('error', 'an exception')}") + action = answer.get("action") + if action is None: + raise sopcc.InvalidAction( + f"action is {answer.get('kind', 'None')}, not an int") + return int(action) + + outcome = sopcc.run_episode(instance, noise[episode], choose) + report["episodes"].append(outcome) + except WorkerGone as exc: + report["abort"] = report["abort"] or str(exc) + except Exception as exc: + report["abort"] = f"{type(exc).__name__}: {exc}" + finally: + if proc is not None: + report["cpu_seconds"] = max(report["cpu_seconds"], _end_instance(proc)) + report["wall_seconds"] = time.monotonic() - started + try: + errlog.seek(0) + report["stderr_tail"] = errlog.read(4096).decode("utf-8", "replace") + except OSError: + pass + errlog.close() + shutil.rmtree(scratch, ignore_errors=True) + + while len(report["episodes"]) < int(episodes): + report["episodes"].append( + {"delivered": 0.0, "failed": True, + "reason": f"aborted: {report['abort'] or 'unknown'}", "visits": 0, + "traversals": 0}) + return report + + +def grade_panel( + panel, + sandbox: Sandbox, + candidate_dir: str, + worker_path: str, + python_exe: str | None = None, + workers: int = 8, + seed_base: int = 1000, + episodes: int = sopcc.EPISODES_PER_INSTANCE, + retry_budget: int = 4, +) -> dict: + """Grade a whole panel, at most `workers` instances at a time, and aggregate the metric.""" + python_exe = python_exe or sys.executable + reports: list[dict | None] = [None] * len(panel) + with ThreadPoolExecutor(max_workers=max(1, min(workers, len(panel)))) as pool: + futures = { + pool.submit( + run_instance, sandbox, candidate_dir, worker_path, python_exe, + panel[i]["instance"], panel[i]["noise"], seed_base + i, episodes, + ): i + for i in range(len(panel)) + } + for future, i in futures.items(): + reports[i] = future.result() + + + + + retries = [] + for i, report in enumerate(reports): + if retry_budget <= 0: + break + abort = report["abort"] or "" + infra = ("closed the channel" in abort) or ("is not reading" in abort) + if not infra or report["wall_seconds"] > 0.25 * sandbox.timeout: + continue + retry_budget -= 1 + retries.append({"instance": i, "first_abort": abort}) + reports[i] = run_instance( + sandbox, candidate_dir, worker_path, python_exe, + panel[i]["instance"], panel[i]["noise"], seed_base + i, episodes) + + delivered, failed, draws = [], [], [] + for i, report in enumerate(reports): + for outcome in report["episodes"]: + delivered.append(outcome["delivered"]) + failed.append(outcome["failed"]) + draws.append(panel[i].get("draw", 0)) + summary = sopcc.panel_metric(delivered, failed) + delivered_arr = np.asarray(delivered, dtype=np.float64) + failed_arr = np.asarray(failed, dtype=bool) + draw_arr = np.asarray(draws, dtype=np.int64) + per_draw = {} + for draw in sorted(set(draws)): + mask = draw_arr == draw + per_draw[int(draw)] = sopcc.panel_metric(delivered_arr[mask], failed_arr[mask]) + summary["per_draw"] = per_draw + summary["draw_metric_mean"] = float( + np.mean([per_draw[d]["metric"] for d in sorted(per_draw)])) if per_draw else 0.0 + summary["instances"] = len(panel) + summary["retried_instances"] = retries + summary["aborted_instances"] = sum(1 for r in reports if r["abort"]) + summary["max_cpu_seconds"] = max((r["cpu_seconds"] for r in reports), default=0.0) + summary["max_wall_seconds"] = max((r["wall_seconds"] for r in reports), default=0.0) + summary["reports"] = reports + return summary diff --git a/tasks/sopcc-online-chance-constrained-policy/tests/sopcc.py b/tasks/sopcc-online-chance-constrained-policy/tests/sopcc.py new file mode 100644 index 0000000000000000000000000000000000000000..a9070eca242226f7bf62e4702fad58dafac7ad76 --- /dev/null +++ b/tasks/sopcc-online-chance-constrained-policy/tests/sopcc.py @@ -0,0 +1,212 @@ +from __future__ import annotations + +import numpy as np + + +N_VERTICES = 40 +START = 0 +GOAL = 1 +BUDGET = 2.0 +P_FAIL = 0.1 +COST_MODEL = "exponential_mean_equals_euclidean" + + +EPISODES_PER_INSTANCE = 32 +MAX_TRAVERSALS = 48 + + +FAILURE_ALLOWANCE = 0.10 +PENALTY_SLOPE = 10.0 + + +DEV_ENTROPY = 20240917 +DEV_DRAWS = 4 +DEV_INSTANCES_PER_DRAW = 50 + + +def instance_seed(entropy: int, index: int) -> np.random.SeedSequence: + """Seed sequence for instance `index` of the family rooted at `entropy`.""" + return np.random.SeedSequence(entropy=int(entropy), spawn_key=(int(index), 0)) + + +def noise_seed(entropy: int, index: int, variant: int = 0) -> np.random.SeedSequence: + """Seed sequence for the pre-drawn cost noise of instance `index`. + + `variant` draws an independent noise realisation for the same instance, which is how the + build measures the metric's own sampling noise. + """ + key = (int(index), 1) if int(variant) == 0 else (int(index), 1, int(variant)) + return np.random.SeedSequence(entropy=int(entropy), spawn_key=key) + + +def euclidean_matrix(coords: np.ndarray) -> np.ndarray: + diff = coords[:, None, :] - coords[None, :, :] + dist = np.sqrt((diff * diff).sum(axis=-1)) + np.fill_diagonal(dist, 0.0) + return dist + + +def make_instance(seed_sequence: np.random.SeedSequence) -> dict: + """One SOPCC instance: complete graph, U[0,1]^2 coordinates, U[0,1] vertex rewards. + + The start and goal vertex rewards are forced to 0.0, so no reward is collected for + free by starting or finishing. + """ + rng = np.random.Generator(np.random.PCG64(seed_sequence)) + coords = rng.random((N_VERTICES, 2)) + rewards = rng.random(N_VERTICES) + rewards[START] = 0.0 + rewards[GOAL] = 0.0 + return instance_from_arrays(coords, rewards) + + +def instance_from_arrays(coords: np.ndarray, rewards: np.ndarray) -> dict: + coords = np.ascontiguousarray(coords, dtype=np.float64) + rewards = np.ascontiguousarray(rewards, dtype=np.float64) + return { + "coords": coords, + "rewards": rewards, + "dist": euclidean_matrix(coords), + "start": START, + "goal": GOAL, + "budget": BUDGET, + "p_fail": P_FAIL, + "cost_model": COST_MODEL, + } + + +def make_noise( + seed_sequence: np.random.SeedSequence, + episodes: int = EPISODES_PER_INSTANCE, + traversals: int = MAX_TRAVERSALS, +) -> np.ndarray: + """Pre-drawn unit-Exponential cost multipliers, one row of `traversals` per episode. + + The realised cost of the k-th traversal of an episode is `dist[u, v] * noise[k]`, so + every traversal costs an Exponential variate with mean equal to the Euclidean edge + length, and two submissions see the identical random stream. + """ + rng = np.random.Generator(np.random.PCG64(seed_sequence)) + return rng.exponential(1.0, size=(int(episodes), int(traversals))) + + +def make_dev_panel(draws: int = DEV_DRAWS, instances_per_draw: int = DEV_INSTANCES_PER_DRAW): + """The public dev panel: `draws` independent draws of `instances_per_draw` instances.""" + panel = [] + for draw in range(int(draws)): + for k in range(int(instances_per_draw)): + index = draw * int(instances_per_draw) + k + panel.append( + { + "draw": draw, + "index": index, + "instance": make_instance(instance_seed(DEV_ENTROPY, index)), + "noise": make_noise(noise_seed(DEV_ENTROPY, index)), + } + ) + return panel + + +class InvalidAction(Exception): + """The policy returned something that is not a legal next vertex.""" + + +def check_action(action, current: int, visited: np.ndarray) -> int: + """Validate one action, returning it as an int or raising InvalidAction.""" + if isinstance(action, bool) or not isinstance(action, (int, np.integer)): + raise InvalidAction(f"action is {type(action).__name__}, not an int") + a = int(action) + if not 0 <= a < N_VERTICES: + raise InvalidAction(f"action {a} out of range") + if a == current: + raise InvalidAction("action is the current vertex") + if a != GOAL and visited[a]: + raise InvalidAction(f"action {a} is an already visited vertex") + return a + + +def run_episode(instance: dict, noise_row: np.ndarray, choose) -> dict: + """Drive one episode. `choose(obs)` returns the next vertex, or raises. + + Returns a dict with `delivered` (0.0 unless the goal was reached inside budget), + `failed`, `reason`, `visits` (count of distinct non-start vertices collected) and + `traversals`. + """ + dist = instance["dist"] + rewards = instance["rewards"] + visited = np.zeros(N_VERTICES, dtype=bool) + visited[START] = True + current = START + remaining = float(instance["budget"]) + collected = 0.0 + step = 0 + + while True: + if step >= MAX_TRAVERSALS: + return _failed("traversal_cap", collected, step) + obs = { + "current": int(current), + "visited": visited.copy(), + "remaining_budget": float(remaining), + "collected_reward": float(collected), + "step": int(step), + } + try: + action = check_action(choose(obs), current, visited) + except InvalidAction as exc: + return _failed(f"invalid_action: {exc}", collected, step) + cost = float(dist[current, action]) * float(noise_row[step]) + remaining -= cost + step += 1 + if remaining < 0.0: + return _failed("budget_exhausted", collected, step) + if action == GOAL: + return { + "delivered": float(collected), + "failed": False, + "reason": "goal", + "visits": int(visited.sum()) - 1, + "traversals": step, + "remaining_budget": float(remaining), + } + visited[action] = True + collected += float(rewards[action]) + current = action + + +def _failed(reason: str, collected: float, step: int) -> dict: + return { + "delivered": 0.0, + "failed": True, + "reason": reason, + "visits": 0, + "traversals": int(step), + "collected_when_failed": float(collected), + } + + +def penalty(failure_rate: float) -> float: + """1.0 while the failure rate respects the allowance, ramping linearly to 0.0.""" + f = float(failure_rate) + if f <= FAILURE_ALLOWANCE: + return 1.0 + return max(0.0, 1.0 - PENALTY_SLOPE * (f - FAILURE_ALLOWANCE)) + + +def panel_metric(delivered, failed) -> dict: + """Penalised mean delivered reward over a panel of episodes.""" + delivered = np.asarray(delivered, dtype=np.float64) + failed = np.asarray(failed, dtype=bool) + if delivered.size == 0: + return {"metric": 0.0, "R": 0.0, "F": 1.0, "penalty": 0.0, "episodes": 0} + R = float(delivered.mean()) + F = float(failed.mean()) + p = penalty(F) + return { + "metric": R * p, + "R": R, + "F": F, + "penalty": p, + "episodes": int(delivered.size), + "delivered_std": float(delivered.std(ddof=1)) if delivered.size > 1 else 0.0, + } diff --git a/tasks/sopcc-online-chance-constrained-policy/tests/test.sh b/tasks/sopcc-online-chance-constrained-policy/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..492622781afd2c06d496f7c30e2e3616b2145647 --- /dev/null +++ b/tasks/sopcc-online-chance-constrained-policy/tests/test.sh @@ -0,0 +1,30 @@ +#!/bin/bash + + + +set -u + + + +reward_floor() { + if [ ! -s /logs/verifier/reward.txt ]; then + mkdir -p /logs/verifier + printf '0\n' > /logs/verifier/reward.txt + fi +} +trap reward_floor EXIT + +mkdir -p /logs/verifier +chown root:root /logs/verifier 2>/dev/null || true +chmod 755 /logs/verifier 2>/dev/null || true +rm -f /logs/verifier/reward.txt /logs/verifier/ctrf.json /logs/verifier/metric.json + +chmod -R go-rwx /tests + +cd /tests +export GRADE_SPLIT=final +/usr/local/bin/python3 -m pytest \ + --ctrf /logs/verifier/ctrf.json /tests/test_state.py -rA +/usr/local/bin/python3 /tests/compute_reward.py + +exit 0 diff --git a/tasks/sopcc-online-chance-constrained-policy/tests/test_state.py b/tasks/sopcc-online-chance-constrained-policy/tests/test_state.py new file mode 100644 index 0000000000000000000000000000000000000000..682e8710f93219e95b8a0c0a86f36df7d716e86c --- /dev/null +++ b/tasks/sopcc-online-chance-constrained-policy/tests/test_state.py @@ -0,0 +1,229 @@ +from __future__ import annotations + +import collections +import json +import os +import shutil +import sys +from pathlib import Path + +import pytest + +sys.path.insert(0, str(Path(__file__).resolve().parent)) + +import grader_core +import runner +import sopcc + +TESTS = Path(__file__).resolve().parent +DELIVERABLE = Path("/app/solution") +STAGING = Path("/tmp/sopcc-candidate") +LOGS = Path("/logs/verifier") + + +MAX_DELIVERABLE_BYTES = 50 * 1024 * 1024 +CPU_SECONDS_PER_INSTANCE = 75.0 +WALL_SECONDS_PER_INSTANCE = 150.0 +ADDRESS_SPACE_BYTES = 6 * 1024 ** 3 +FILE_SIZE_BYTES = 64 * 1024 ** 2 +OPEN_FILES = 256 +AGENT_UID = 1001 +AGENT_GID = 1001 +WORKERS = 8 + + + + + + + + +SANDBOX = runner.Sandbox( + cpu_seconds=CPU_SECONDS_PER_INSTANCE, + timeout=WALL_SECONDS_PER_INSTANCE, + address_space_bytes=ADDRESS_SPACE_BYTES, + file_size_bytes=FILE_SIZE_BYTES, + open_files=OPEN_FILES, + run_as_uid=AGENT_UID, + run_as_gid=AGENT_GID, + new_session=True, +) + + +def _write_metric(payload: dict) -> None: + LOGS.mkdir(parents=True, exist_ok=True) + (LOGS / "metric.json").write_text(json.dumps(payload, indent=2, sort_keys=True) + "\n") + + +def _redacted(split: str) -> bool: + """The intermediate grader's stdout goes back to the agent, so it stays aggregate-only.""" + return split != "final" + + +@pytest.fixture(scope="session") +def graded() -> dict: + """Grade the sealed panel exactly once, and write the metric file.""" + split = os.environ.get("GRADE_SPLIT", "final") + payload = { + "split": split, + "metric": 0.0, + "reward": 0.0, + "R": 0.0, + "F": 1.0, + "penalty": 0.0, + "valid": False, + "reason": "grading did not complete", + } + _write_metric(payload) + + if split not in grader_core.SPLITS: + payload["reason"] = f"unknown split {split!r}" + _write_metric(payload) + return payload + + ok, reason, size = runner.validate_solution_dir(str(DELIVERABLE), MAX_DELIVERABLE_BYTES) + payload["deliverable_bytes"] = size + if not ok: + payload["reason"] = f"deliverable rejected: {reason}" + _write_metric(payload) + return payload + + panel = grader_core.load_panel(split) + STAGING.parent.mkdir(parents=True, exist_ok=True) + if STAGING.exists(): + shutil.rmtree(STAGING) + STAGING.mkdir() + STAGING.chmod(0o755) + candidate = runner.stage_candidate(str(DELIVERABLE), str(STAGING / "solution")) + + + + + worker = STAGING / "policy_worker.py" + shutil.copyfile(TESTS / "policy_worker.py", worker) + os.chown(worker, 0, 0) + worker.chmod(0o644) + + summary = runner.grade_panel( + panel, SANDBOX, candidate, + worker_path=str(worker), + python_exe=sys.executable, + workers=WORKERS, + episodes=sopcc.EPISODES_PER_INSTANCE, + ) + reasons = collections.Counter() + aborts = [] + for i, report in enumerate(summary["reports"]): + for outcome in report["episodes"]: + if outcome["failed"]: + reasons[outcome["reason"].split(":")[0]] += 1 + if report["abort"]: + aborts.append({ + "instance": i, + "abort": report["abort"], + "cpu_seconds": report["cpu_seconds"], + "wall_seconds": report["wall_seconds"], + + + "unexplained": (("closed the channel" in report["abort"] + or "is not reading" in report["abort"]) + and report["wall_seconds"] < 0.25 * WALL_SECONDS_PER_INSTANCE + and report["cpu_seconds"] < 0.5 * CPU_SECONDS_PER_INSTANCE), + }) + + payload.update({ + "metric": summary["metric"], + "reward": grader_core.graded_reward(summary["metric"], split), + "R": summary["R"], + "F": summary["F"], + "penalty": summary["penalty"], + "episodes": summary["episodes"], + "instances": summary["instances"], + "per_draw_metric": {str(d): summary["per_draw"][d]["metric"] + for d in sorted(summary["per_draw"])}, + "per_draw_F": {str(d): summary["per_draw"][d]["F"] + for d in sorted(summary["per_draw"])}, + "delivered_std": summary["delivered_std"], + "failure_reasons": dict(reasons), + "aborted_instances": summary["aborted_instances"], + "aborts": aborts, + "unexplained_aborts": sum(1 for a in aborts if a["unexplained"]), + "retried_instances": summary["retried_instances"], + "max_cpu_seconds": summary["max_cpu_seconds"], + "max_wall_seconds": summary["max_wall_seconds"], + "valid": True, + "reason": "ok", + }) + _write_metric(payload) + + if _redacted(split): + print(f"episodes: {payload['episodes']} over {payload['instances']} instances") + print(f"failure rate F: {payload['F']:.4f} penalty factor: {payload['penalty']:.4f}") + print("failure rate per draw: " + ", ".join( + f"{d}={v:.4f}" for d, v in payload["per_draw_F"].items())) + print("failure reasons: " + (", ".join( + f"{k}={v}" for k, v in sorted(reasons.items())) or "none")) + print(f"largest per-instance cpu {payload['max_cpu_seconds']:.1f}s of " + f"{CPU_SECONDS_PER_INSTANCE:.0f}s, wall {payload['max_wall_seconds']:.1f}s of " + f"{WALL_SECONDS_PER_INSTANCE:.0f}s") + print(f"instances that ended early: {payload['aborted_instances']}" + + (" (" + "; ".join(a["abort"][:80] for a in aborts[:3]) + ")" if aborts else "")) + else: + print(json.dumps({k: v for k, v in payload.items() if k != "failure_reasons"}, + indent=2, sort_keys=True)) + print("failure reasons: " + json.dumps(dict(reasons), sort_keys=True)) + return payload + + +def test_deliverable_runs(graded): + """The submitted policy must exist, import, and answer decisions at all. + + WHY: everything else is meaningless if the deliverable never ran. A missing, oversized, + link-bearing or unimportable deliverable is scored 0 rather than skipped. + """ + assert graded["valid"], graded["reason"] + assert graded["episodes"] == graded["instances"] * sopcc.EPISODES_PER_INSTANCE + + +def test_metric_is_well_formed(graded): + """The metric and its parts must be finite and inside their definitions. + + WHY: the reward is a function of these numbers, so a NaN or an out-of-range failure rate + has to fail loudly here instead of propagating into reward.txt. + """ + assert 0.0 <= graded["F"] <= 1.0 + assert 0.0 <= graded["penalty"] <= 1.0 + assert graded["R"] >= 0.0 + assert graded["metric"] == pytest.approx(graded["R"] * graded["penalty"], abs=1e-9) + assert 0.0 <= graded["reward"] < 1.0 + + +def test_reward_follows_the_metric(graded): + """The reward written for this run must be exactly the map applied to the measured metric. + + WHY: the reward is the only number that leaves the verifier, and it is computed once in the + fixture. This re-derives it from the metric through the same map, so a mis-keyed split or a + hand-edited payload cannot slip a different number into reward.txt. It also pins the floor: + a metric at or below the trivial anchor is worth exactly 0. + """ + split = graded["split"] + assert graded["reward"] == pytest.approx( + grader_core.graded_reward(graded["metric"], split), abs=1e-12) + m0, m_ref = grader_core.ANCHORS[split] + assert m_ref > m0 + assert grader_core.graded_reward(m0, split) == 0.0 + assert grader_core.graded_reward(m0 - 1.0, split) == 0.0 + assert grader_core.graded_reward(m_ref, split) == pytest.approx(0.5, abs=1e-12) + + +def test_no_infrastructure_failure(graded): + """No instance may end early for a reason that is not the policy's own doing. + + WHY: an instance whose child process vanished contributes 32 failures and drags the metric + down. Retries absorb a transient death; anything still unexplained afterwards is surfaced + here, on a channel the candidate cannot reach or trigger, instead of being folded silently + into a low score. A policy that crashes or blows its own budget is NOT unexplained. + """ + assert graded.get("unexplained_aborts", 0) == 0, ( + f"{graded.get('unexplained_aborts')} instances died without spending their own " + f"budget: {[a for a in graded.get('aborts', []) if a['unexplained']][:3]}") diff --git a/tasks/sparse-elsa-item-embeddings-8nnz/environment/Dockerfile b/tasks/sparse-elsa-item-embeddings-8nnz/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..ddb8ecfe5c301237fc6f8d7e061c4f34552cd0e6 --- /dev/null +++ b/tasks/sparse-elsa-item-embeddings-8nnz/environment/Dockerfile @@ -0,0 +1,50 @@ +FROM --platform=linux/amd64 public.ecr.aws/docker/library/python:3.13-slim-bookworm@sha256:01f42367a0a94ad4bc17111776fd66e3500c1d87c15bbd6055b7371d39c124fb + +RUN set -eu; \ + if [ ! -s /etc/ssl/certs/ca-certificates.crt ]; then \ + apt-get update && apt-get install -y --no-install-recommends ca-certificates=20230311+deb12u1; \ + fi; \ + rm -f /tmp/hz-prereq.list; \ + echo 'deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] https://snapshot.debian.org/archive/debian/20260801T000000Z bookworm main' >> /tmp/hz-prereq.list; \ + echo 'deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] https://snapshot.debian.org/archive/debian-security/20260801T000000Z bookworm-security main' >> /tmp/hz-prereq.list; \ + apt-get -o Dir::Etc::sourcelist=/tmp/hz-prereq.list -o Dir::Etc::sourceparts=/dev/null -o Acquire::Check-Valid-Until=false update; \ + apt-get -o Dir::Etc::sourcelist=/tmp/hz-prereq.list -o Dir::Etc::sourceparts=/dev/null -o Acquire::Check-Valid-Until=false install -y --no-install-recommends tmux=3.3a-3 asciinema=2.2.0-1; \ + rm -f /tmp/hz-prereq.list; rm -rf /var/lib/apt/lists/* + + +ENTRYPOINT [] +ENV DEBIAN_FRONTEND=noninteractive \ + PYTHONHASHSEED=0 \ + PIP_NO_CACHE_DIR=1 \ + PIP_DISABLE_PIP_VERSION_CHECK=1 \ + OMP_NUM_THREADS=8 \ + MKL_NUM_THREADS=8 \ + OPENBLAS_NUM_THREADS=8 \ + NUMEXPR_NUM_THREADS=8 \ + HF_HUB_OFFLINE=1 \ + TRANSFORMERS_OFFLINE=1 + +RUN useradd --create-home --uid 1001 agent + +COPY ./requirements.txt /tmp/requirements.txt +RUN /usr/local/bin/python3 -m pip install --no-cache-dir -r /tmp/requirements.txt \ + && rm /tmp/requirements.txt + +WORKDIR /app +COPY ./app /app + +RUN mkdir -p /app/output \ + && chown -R agent:agent /app \ + && chown root:root /app/data /app/data/train.npz /app/data/val.npz /app/check_contract.py \ + && chmod 555 /app/data \ + && chmod 444 /app/data/train.npz /app/data/val.npz \ + && chmod 555 /app/check_contract.py \ + && find /app -exec touch -d @1700000000 {} + + +RUN command -v git >/dev/null 2>&1 \ + || (apt-get update \ + && apt-get install -y --no-install-recommends git=1:2.39.5-0+deb12u3 \ + && rm -rf /var/lib/apt/lists/*) +RUN git config --system user.email "agent@localhost" \ + && git config --system user.name "autoresearch agent" +USER agent diff --git a/tasks/sparse-elsa-item-embeddings-8nnz/environment/app/check_contract.py b/tasks/sparse-elsa-item-embeddings-8nnz/environment/app/check_contract.py new file mode 100644 index 0000000000000000000000000000000000000000..df18078633c6d551210418b268c731c0a3073367 --- /dev/null +++ b/tasks/sparse-elsa-item-embeddings-8nnz/environment/app/check_contract.py @@ -0,0 +1,65 @@ +import sys +import time +from pathlib import Path + +import numpy as np +import scipy.sparse as sp + +N_ITEMS = 10000 +MAX_NNZ_PER_ITEM = 8 +MAX_DIMS = 65536 + + +def main() -> int: + code_dir = Path(sys.argv[1] if len(sys.argv) > 1 else "/app/output").resolve() + sys.path.insert(0, str(code_dir)) + import solution + + fn = getattr(solution, "build_item_embeddings", None) + if not callable(fn): + print("FAIL: solution.py exposes no callable build_item_embeddings") + return 1 + + X_train = sp.load_npz("/app/data/train.npz").tocsr().astype(np.float32) + X_train.sort_indices() + + start = time.monotonic() + A = fn(X_train, N_ITEMS, MAX_NNZ_PER_ITEM, MAX_DIMS, 815) + elapsed = time.monotonic() - start + print(f"build_item_embeddings returned in {elapsed:.1f}s") + + if sp.issparse(A): + A = sp.csr_matrix(A) + elif isinstance(A, np.ndarray) and A.ndim == 2: + A = sp.csr_matrix(A) + else: + print(f"FAIL: returned {type(A)!r}, not a 2-D sparse matrix or ndarray") + return 1 + A = A.tocsr() + A.sum_duplicates() + A.eliminate_zeros() + + ok = True + counts = np.diff(A.indptr) + print(f"shape={A.shape} d={A.shape[1]} nonzeros={A.nnz}") + print(f"nonzeros per row: max={counts.max(initial=0)} mean={counts.mean():.3f} " + f"empty rows={int((counts == 0).sum())}") + if A.shape[0] != N_ITEMS: + print(f"FAIL: {A.shape[0]} rows, expected {N_ITEMS}") + ok = False + if not 1 <= A.shape[1] <= MAX_DIMS: + print(f"FAIL: d={A.shape[1]} outside 1..{MAX_DIMS}") + ok = False + if counts.max(initial=0) > MAX_NNZ_PER_ITEM: + print(f"FAIL: row {int(np.argmax(counts))} has {counts.max()} nonzeros, budget is " + f"{MAX_NNZ_PER_ITEM}") + ok = False + if not np.isfinite(A.data).all(): + print("FAIL: A contains a non-finite value") + ok = False + print("contract OK" if ok else "contract VIOLATED") + return 0 if ok else 1 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/tasks/sparse-elsa-item-embeddings-8nnz/environment/requirements.txt b/tasks/sparse-elsa-item-embeddings-8nnz/environment/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..ffa3ec8d9aecf991e0c3b728749b524ae9c1e468 --- /dev/null +++ b/tasks/sparse-elsa-item-embeddings-8nnz/environment/requirements.txt @@ -0,0 +1,6 @@ +--index-url https://download.pytorch.org/whl/cpu +--extra-index-url https://pypi.org/simple +numpy==2.5.1 +scipy==1.18.0 +scikit-learn==1.9.0 +torch==2.13.0+cpu diff --git a/tasks/sparse-elsa-item-embeddings-8nnz/hints/hint.md b/tasks/sparse-elsa-item-embeddings-8nnz/hints/hint.md new file mode 100644 index 0000000000000000000000000000000000000000..51a6a4ae34a845582296ef62460c6f1ee10cf599 --- /dev/null +++ b/tasks/sparse-elsa-item-embeddings-8nnz/hints/hint.md @@ -0,0 +1 @@ +Fit a dense EASE-style item-item ridge as a teacher, then realise it sparsely: set the width to the item count and let each dimension carry one item pair, so eight nonzeros buy a self weight plus seven neighbours and the budget becomes a capacity-constrained orientation problem. Support selection is where the score is - score edges by teacher importance times the value they would carry, then iterate refit, re-score, re-select, with an exact augmenting-path assignment. Make the self weight a function of the row's fitted neighbour magnitudes, and fit the teacher against the masked second-moment matrix the evaluation actually induces. diff --git a/tasks/sparse-elsa-item-embeddings-8nnz/tests/Dockerfile b/tasks/sparse-elsa-item-embeddings-8nnz/tests/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..92638e433647911796fb839f1fc0aeb4b8fada78 --- /dev/null +++ b/tasks/sparse-elsa-item-embeddings-8nnz/tests/Dockerfile @@ -0,0 +1,38 @@ +FROM --platform=linux/amd64 public.ecr.aws/docker/library/python:3.13-slim-bookworm@sha256:01f42367a0a94ad4bc17111776fd66e3500c1d87c15bbd6055b7371d39c124fb + +ENTRYPOINT [] +ENV PYTHONPATH= +ENV PYTHONSAFEPATH=1 +ENV DEBIAN_FRONTEND=noninteractive \ + PYTHONHASHSEED=0 \ + PIP_NO_CACHE_DIR=1 \ + PIP_DISABLE_PIP_VERSION_CHECK=1 \ + OMP_NUM_THREADS=8 \ + MKL_NUM_THREADS=8 \ + OPENBLAS_NUM_THREADS=8 \ + NUMEXPR_NUM_THREADS=8 \ + TORCH_NUM_THREADS=8 \ + HF_HUB_OFFLINE=1 \ + TRANSFORMERS_OFFLINE=1 + +RUN useradd --create-home --uid 1001 agent + +RUN command -v runuser >/dev/null || command -v /usr/sbin/runuser >/dev/null \ + && command -v setsid >/dev/null && command -v timeout >/dev/null + +COPY ./requirements.txt /tmp/requirements.txt +COPY ./requirements-verifier.txt /tmp/requirements-verifier.txt +RUN /usr/local/bin/python3 -m pip install --no-cache-dir \ + -r /tmp/requirements.txt -r /tmp/requirements-verifier.txt \ + && rm /tmp/requirements.txt /tmp/requirements-verifier.txt + +RUN mkdir -p /app/output /logs/verifier + +COPY . /tests + +RUN chown -R root:root /tests \ + && chmod 700 /tests/hidden_data /tests/hidden_data/intermediate /tests/hidden_data/final \ + && chmod +x /tests/test.sh /tests/intermediate.sh \ + && find /tests -exec touch -d @1700000000 {} + + +WORKDIR /tests diff --git a/tasks/sparse-elsa-item-embeddings-8nnz/tests/compute_reward.py b/tasks/sparse-elsa-item-embeddings-8nnz/tests/compute_reward.py new file mode 100644 index 0000000000000000000000000000000000000000..4548359b5a83c27d01892d0a56c9d69b416434ab --- /dev/null +++ b/tasks/sparse-elsa-item-embeddings-8nnz/tests/compute_reward.py @@ -0,0 +1,23 @@ +import json +import math +import sys +from pathlib import Path + +METRIC_PATH = Path(sys.argv[1]) if len(sys.argv) > 1 else Path("/logs/verifier/metric.json") +REWARD_PATH = Path(sys.argv[2]) if len(sys.argv) > 2 else Path("/logs/verifier/reward.txt") + +try: + record = json.loads(METRIC_PATH.read_text()) + if not record.get("valid", False): + raise ValueError(f"invalid submission: {record.get('detail', '')[:200]}") + value = float(record["reward"]) + if not math.isfinite(value): + raise ValueError("non-finite reward") + reward = f"{min(1.0, max(0.0, value)):.12g}" + REWARD_PATH.parent.mkdir(parents=True, exist_ok=True) + REWARD_PATH.write_text(reward + "\n") + print(f"reward={reward}") +except Exception as exc: + REWARD_PATH.parent.mkdir(parents=True, exist_ok=True) + REWARD_PATH.write_text("0\n") + print(f"reward=0 (fallback: {exc})") diff --git a/tasks/sparse-elsa-item-embeddings-8nnz/tests/grader_core.py b/tasks/sparse-elsa-item-embeddings-8nnz/tests/grader_core.py new file mode 100644 index 0000000000000000000000000000000000000000..d4f49e244bcf31fce8580e162c7ebd68adaac907 --- /dev/null +++ b/tasks/sparse-elsa-item-embeddings-8nnz/tests/grader_core.py @@ -0,0 +1,366 @@ +import json +import math +import os +import shutil +import subprocess +import sys +import time +from pathlib import Path + +import numpy as np +import scipy.sparse as sp + + + + + +N_ITEMS = 10000 +MAX_NNZ_PER_ITEM = 8 +MAX_DIMS = 65536 +CANDIDATE_SEED = 815 +CANDIDATE_TIMEOUT_SEC = 2400.0 +K = 100 +CANDIDATE_THREADS = "8" + + + +M0 = 0.354019 +BASELINE_SCORE = 0.469 + + + + + +def load_train_matrix(path) -> sp.csr_matrix: + X = sp.load_npz(str(path)).tocsr() + X.sort_indices() + return X.astype(np.float32) + + +def load_eval_slice(path): + """Return (src, target) csr matrices of the sealed evaluation rows.""" + with np.load(str(path), allow_pickle=False) as z: + shape = tuple(int(v) for v in z["shape"]) + src = sp.csr_matrix( + (z["src_data"].astype(np.float32), z["src_indices"], z["src_indptr"]), shape=shape + ) + tgt_indptr = z["tgt_indptr"] + tgt_indices = z["tgt_indices"] + tgt = sp.csr_matrix( + (np.ones(len(tgt_indices), dtype=np.float32), tgt_indices, tgt_indptr), shape=shape + ) + src.sort_indices() + tgt.sort_indices() + return src, tgt + + + + + +def candidate_command(python_exe, runner, code_copy, train_copy, emb_path, run_as, timeout): + """The exact command line the graded run is launched with. + + Three properties are load-bearing and are asserted by tests/test_state.py: `runuser` drops + to the unprivileged uid, `setsid` detaches the run into its own session, and `timeout + --signal=KILL` bounds the whole process group in wall-clock seconds. + """ + argv = [ + str(python_exe), + "-I", + str(runner), + str(code_copy), + str(train_copy), + str(emb_path), + str(N_ITEMS), + str(MAX_NNZ_PER_ITEM), + str(MAX_DIMS), + str(CANDIDATE_SEED), + ] + wrapped = ["setsid", "timeout", "--signal=KILL", str(int(timeout))] + argv + if run_as: + runuser = shutil.which("runuser") or "/usr/sbin/runuser" + wrapped = [runuser, "-u", run_as, "--"] + wrapped + return wrapped + + +def run_candidate( + code_dir, + harness_dir, + work_dir, + train_path, + python_exe=None, + run_as="agent", + timeout_sec=CANDIDATE_TIMEOUT_SEC, +): + """Copy the deliverable somewhere the candidate cannot rewrite, run it, return status. + + Returns (ok, detail, embedding_path, elapsed_sec). + """ + python_exe = python_exe or sys.executable + harness_dir = Path(harness_dir) + work_dir = Path(work_dir) + code_dir = Path(code_dir) + + for d in (harness_dir, work_dir): + if d.exists(): + shutil.rmtree(d) + d.mkdir(parents=True) + + runner_src = Path(__file__).resolve().parent / "run_candidate.py" + runner = harness_dir / "run_candidate.py" + shutil.copy2(runner_src, runner) + + code_copy = harness_dir / "candidate_code" + if not code_dir.is_dir(): + return False, f"deliverable directory {code_dir} is missing", None, 0.0 + + + + shutil.copytree(code_dir, code_copy, symlinks=True, ignore_dangling_symlinks=True) + + train_copy = harness_dir / "train.npz" + shutil.copy2(train_path, train_copy) + + emb_path = work_dir / "embedding.npz" + + + for path in harness_dir.rglob("*"): + os.chmod(path, 0o555 if path.is_dir() else 0o444) + os.chmod(harness_dir, 0o555) + if run_as: + shutil.chown(work_dir, user=run_as) + os.chmod(work_dir, 0o700) + + wrapped = candidate_command( + python_exe, runner, code_copy, train_copy, emb_path, run_as=run_as, timeout=timeout_sec + ) + + env = { + "PATH": "/usr/local/bin:/usr/bin:/bin", + "HOME": str(work_dir), + "TMPDIR": str(work_dir), + "PYTHONHASHSEED": "0", + "OMP_NUM_THREADS": CANDIDATE_THREADS, + "MKL_NUM_THREADS": CANDIDATE_THREADS, + "OPENBLAS_NUM_THREADS": CANDIDATE_THREADS, + "NUMEXPR_NUM_THREADS": CANDIDATE_THREADS, + "TORCH_NUM_THREADS": CANDIDATE_THREADS, + "HF_HUB_OFFLINE": "1", + "TRANSFORMERS_OFFLINE": "1", + } + + start = time.monotonic() + try: + proc = subprocess.run( + wrapped, + cwd=str(work_dir), + env=env, + stdin=subprocess.DEVNULL, + capture_output=True, + text=True, + timeout=timeout_sec + 120.0, + ) + except subprocess.TimeoutExpired: + return False, "candidate exceeded its wall-clock budget", None, time.monotonic() - start + elapsed = time.monotonic() - start + + tail = (proc.stdout or "")[-2000:] + (proc.stderr or "")[-2000:] + if proc.returncode == -9 or proc.returncode == 137: + return False, f"candidate killed at the wall-clock budget: {tail}", None, elapsed + if proc.returncode != 0: + return False, f"candidate exited {proc.returncode}: {tail}", None, elapsed + if not emb_path.is_file(): + return False, f"candidate wrote no embedding: {tail}", None, elapsed + return True, tail, emb_path, elapsed + + + + + +class InvalidSubmission(Exception): + """The submitted embedding violates the declared contract.""" + + +def load_embedding(path) -> sp.csr_matrix: + """Build A from the candidate's serialized output, enforcing the declared contract. + + The serialization holds at most MAX_NNZ_PER_ITEM slots per row, so the sparsity budget + is structurally unforgeable: a candidate that lies about its own row counts can only + ever produce a matrix that already satisfies the cap. + """ + with np.load(str(path), allow_pickle=False) as z: + missing = {"idx", "val", "nnz_per_row", "n_rows", "n_dims"} - set(z.files) + if missing: + raise InvalidSubmission(f"serialized embedding is missing {sorted(missing)}") + idx = np.asarray(z["idx"]) + val = np.asarray(z["val"]) + nnz_per_row = np.asarray(z["nnz_per_row"]) + n_rows = int(np.asarray(z["n_rows"]).reshape(-1)[0]) + n_dims = int(np.asarray(z["n_dims"]).reshape(-1)[0]) + + if n_rows != N_ITEMS: + raise InvalidSubmission(f"A has {n_rows} rows, expected {N_ITEMS}") + if not (1 <= n_dims <= MAX_DIMS): + raise InvalidSubmission(f"A has {n_dims} columns, expected 1..{MAX_DIMS}") + if idx.shape != (N_ITEMS, MAX_NNZ_PER_ITEM) or val.shape != (N_ITEMS, MAX_NNZ_PER_ITEM): + raise InvalidSubmission(f"serialized shapes {idx.shape}/{val.shape} are malformed") + if nnz_per_row.shape != (N_ITEMS,): + raise InvalidSubmission("serialized nnz_per_row is malformed") + if int(nnz_per_row.max(initial=0)) > MAX_NNZ_PER_ITEM: + worst = int(nnz_per_row.max(initial=0)) + raise InvalidSubmission( + f"row {int(np.argmax(nnz_per_row))} of A has {worst} nonzeros, " + f"the budget is {MAX_NNZ_PER_ITEM}" + ) + if not np.issubdtype(val.dtype, np.floating) and not np.issubdtype(val.dtype, np.integer): + raise InvalidSubmission(f"A has non-real dtype {val.dtype}") + val = val.astype(np.float64) + idx = idx.astype(np.int64) + if not np.isfinite(val).all(): + raise InvalidSubmission("A contains a non-finite value") + live = (idx >= 0) & (val != 0.0) + if np.any(idx[live] >= n_dims): + raise InvalidSubmission("A references a column outside its declared width") + + rows = np.repeat(np.arange(N_ITEMS, dtype=np.int64), MAX_NNZ_PER_ITEM)[live.ravel()] + cols = idx.ravel()[live.ravel()] + data = val.ravel()[live.ravel()] + A = sp.csr_matrix((data, (rows, cols)), shape=(N_ITEMS, n_dims), dtype=np.float64) + A.sum_duplicates() + A.eliminate_zeros() + over = np.flatnonzero(np.diff(A.indptr) > MAX_NNZ_PER_ITEM) + if over.size: + raise InvalidSubmission(f"row {int(over[0])} of A exceeds the nonzero budget") + return A + + +def row_normalize(A: sp.csr_matrix) -> sp.csr_matrix: + """L2-normalize every row of A; all-zero rows stay all-zero.""" + A = A.tocsr(copy=True).astype(np.float64) + norms = np.sqrt(np.asarray(A.multiply(A).sum(axis=1)).ravel()) + scale = np.divide(1.0, norms, out=np.zeros_like(norms), where=norms > 0) + return sp.diags(scale).dot(A).tocsr() + + +def gram(A_norm: sp.csr_matrix, block: int = 2000) -> np.ndarray: + """Dense A A^T. Blocked, because A A^T can be dense even when A is very sparse.""" + G = np.empty((A_norm.shape[0], A_norm.shape[0]), dtype=np.float64) + AT = A_norm.T.tocsc() + for i in range(0, A_norm.shape[0], block): + j = min(i + block, A_norm.shape[0]) + G[i:j] = (A_norm[i:j] @ AT).toarray() + return G + + +def mean_ndcg_at_k(A_norm, src, tgt, k=K, block=1000): + """Mean nDCG@k over the evaluation rows, exactly as instruction.md defines it. + + r = x_src A_norm A_norm^T - x_src, the row's own src items forced to -inf, ranked by + descending score with ties broken by ascending item index; DCG sums 1/log2(rank+1) + over target items landing in the top k; IDCG = sum_{i=1..min(k, #targets)} 1/log2(i+1). + """ + G = gram(A_norm) + n = src.shape[0] + disc = 1.0 / np.log2(np.arange(1, k + 1) + 1.0) + idcg_table = np.concatenate([[0.0], np.cumsum(disc)]) + scores = np.empty(n, dtype=np.float64) + + for i in range(0, n, block): + j = min(i + block, n) + xs = src[i:j] + R = xs @ G + R -= xs.toarray() + rows, cols = xs.nonzero() + R[rows, cols] = -np.inf + top = np.argsort(-R, axis=1, kind="stable")[:, :k] + for b in range(j - i): + targets = tgt.indices[tgt.indptr[i + b] : tgt.indptr[i + b + 1]] + n_tgt = len(targets) + if n_tgt == 0: + scores[i + b] = 0.0 + continue + hit = np.isin(top[b], targets, assume_unique=False) + dcg = float(disc[hit].sum()) + idcg = float(idcg_table[min(k, n_tgt)]) + scores[i + b] = dcg / idcg + return float(scores.mean()), scores + + + + + +def graded_reward(metric, valid=True, m0=M0, baseline_score=BASELINE_SCORE): + if not valid or metric is None or not math.isfinite(metric): + return 0.0 + x_ref = baseline_score - m0 + assert x_ref > 0, "malformed task: the baseline score does not beat the trivial baseline" + u = max(0.0, metric - m0) / x_ref + return u / (1.0 + u) + + + + + +def grade( + code_dir, + train_path, + eval_path, + harness_dir, + work_dir, + metric_path=None, + python_exe=None, + run_as="agent", + timeout_sec=CANDIDATE_TIMEOUT_SEC, +): + result = { + "valid": False, + "metric": None, + "reward": 0.0, + "stage": "start", + "detail": "", + "elapsed_sec": None, + "n_dims": None, + "max_nnz_per_item": None, + "n_eval_rows": None, + } + try: + ok, detail, emb_path, elapsed = run_candidate( + code_dir, + harness_dir, + work_dir, + train_path, + python_exe=python_exe, + run_as=run_as, + timeout_sec=timeout_sec, + ) + result["elapsed_sec"] = round(elapsed, 2) + result["detail"] = detail[-1500:] if detail else "" + if not ok: + result["stage"] = "execution" + return result + + result["stage"] = "validation" + A = load_embedding(emb_path) + result["n_dims"] = int(A.shape[1]) + result["max_nnz_per_item"] = int(np.diff(A.indptr).max(initial=0)) + + result["stage"] = "scoring" + src, tgt = load_eval_slice(eval_path) + result["n_eval_rows"] = int(src.shape[0]) + metric, per_row = mean_ndcg_at_k(row_normalize(A), src, tgt) + result["metric"] = metric + result["per_row_sem"] = float(per_row.std(ddof=1) / math.sqrt(len(per_row))) + result["valid"] = True + result["reward"] = graded_reward(metric, True) + result["stage"] = "done" + return result + except InvalidSubmission as exc: + result["detail"] = f"invalid submission: {exc}" + return result + except Exception as exc: + result["detail"] = f"{type(exc).__name__}: {exc}" + return result + finally: + if metric_path is not None: + Path(metric_path).parent.mkdir(parents=True, exist_ok=True) + Path(metric_path).write_text(json.dumps(result, indent=2, default=str) + "\n") diff --git a/tasks/sparse-elsa-item-embeddings-8nnz/tests/intermediate.sh b/tasks/sparse-elsa-item-embeddings-8nnz/tests/intermediate.sh new file mode 100644 index 0000000000000000000000000000000000000000..5c34e001e4dd18db02db8b38282bb1edcea7994f --- /dev/null +++ b/tasks/sparse-elsa-item-embeddings-8nnz/tests/intermediate.sh @@ -0,0 +1,26 @@ +#!/bin/bash + + + + +set -u + +mkdir -p /logs/verifier +chown root:root /logs/verifier 2>/dev/null || true +chmod 755 /logs/verifier 2>/dev/null || true +rm -f /logs/verifier/reward.txt /logs/verifier/ctrf.json /logs/verifier/metric.json + + +default_reward_to_zero() { + [ -s /logs/verifier/reward.txt ] || printf '0\n' > /logs/verifier/reward.txt +} +trap default_reward_to_zero EXIT + +chmod -R go-rwx /tests + +export GRADE_SPLIT=intermediate +cd /tests +/usr/local/bin/python3 -m pytest --ctrf /logs/verifier/ctrf.json /tests/test_state.py -q -s --no-header +/usr/local/bin/python3 /tests/compute_reward.py + +exit 0 diff --git a/tasks/sparse-elsa-item-embeddings-8nnz/tests/requirements-verifier.txt b/tasks/sparse-elsa-item-embeddings-8nnz/tests/requirements-verifier.txt new file mode 100644 index 0000000000000000000000000000000000000000..ca9610a272c852274e7264cf3b8885cd200a9a61 --- /dev/null +++ b/tasks/sparse-elsa-item-embeddings-8nnz/tests/requirements-verifier.txt @@ -0,0 +1,2 @@ +pytest==8.4.2 +pytest-json-ctrf==0.5.3 diff --git a/tasks/sparse-elsa-item-embeddings-8nnz/tests/requirements.txt b/tasks/sparse-elsa-item-embeddings-8nnz/tests/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..ffa3ec8d9aecf991e0c3b728749b524ae9c1e468 --- /dev/null +++ b/tasks/sparse-elsa-item-embeddings-8nnz/tests/requirements.txt @@ -0,0 +1,6 @@ +--index-url https://download.pytorch.org/whl/cpu +--extra-index-url https://pypi.org/simple +numpy==2.5.1 +scipy==1.18.0 +scikit-learn==1.9.0 +torch==2.13.0+cpu diff --git a/tasks/sparse-elsa-item-embeddings-8nnz/tests/run_candidate.py b/tasks/sparse-elsa-item-embeddings-8nnz/tests/run_candidate.py new file mode 100644 index 0000000000000000000000000000000000000000..3204a3479427cbae65dfe3176d50ac8204509fab --- /dev/null +++ b/tasks/sparse-elsa-item-embeddings-8nnz/tests/run_candidate.py @@ -0,0 +1,94 @@ +import json +import os +import random +import sys +from pathlib import Path + +import numpy as np +import scipy.sparse as sp + + + + + +try: + import torch + + torch.set_num_threads(int(os.environ.get("TORCH_NUM_THREADS", "8"))) +except ImportError: + pass + + +def main() -> int: + code_dir, train_path, out_path, n_items, max_nnz, max_dims, seed = sys.argv[1:8] + n_items, max_nnz, max_dims, seed = int(n_items), int(max_nnz), int(max_dims), int(seed) + + random.seed(seed) + np.random.seed(seed) + try: + torch.manual_seed(seed) + except NameError: + pass + + sys.path.insert(0, str(Path(code_dir).resolve())) + try: + import solution + except Exception as exc: + print(f"import of solution.py failed: {type(exc).__name__}: {exc}", file=sys.stderr) + return 3 + fn = getattr(solution, "build_item_embeddings", None) + if not callable(fn): + print("solution.py exposes no callable build_item_embeddings", file=sys.stderr) + return 4 + + X_train = sp.load_npz(str(train_path)).tocsr().astype(np.float32) + X_train.sort_indices() + + A = fn(X_train, n_items, max_nnz, max_dims, seed) + + if sp.issparse(A): + A = sp.csr_matrix(A) + elif isinstance(A, np.ndarray) and A.ndim == 2: + A = sp.csr_matrix(A) + else: + print(f"entry point returned {type(A)!r}, not a 2-D sparse matrix", file=sys.stderr) + return 5 + + A = A.tocsr() + if A.shape[0] < 1 or A.shape[1] < 1: + print(f"entry point returned a degenerate shape {A.shape}", file=sys.stderr) + return 6 + A.sum_duplicates() + A.eliminate_zeros() + + n_rows, n_dims = int(A.shape[0]), int(A.shape[1]) + idx = np.full((n_items, max_nnz), -1, dtype=np.int64) + val = np.zeros((n_items, max_nnz), dtype=np.float64) + nnz_per_row = np.zeros(n_items, dtype=np.int64) + + counts = np.diff(A.indptr) + for r in range(min(n_rows, n_items)): + lo, hi = A.indptr[r], A.indptr[r + 1] + cols = A.indices[lo:hi] + vals = A.data[lo:hi].astype(np.float64) + nnz_per_row[r] = int(counts[r]) + if len(cols) > max_nnz: + keep = np.argsort(-np.abs(vals))[:max_nnz] + cols, vals = cols[keep], vals[keep] + idx[r, : len(cols)] = cols + val[r, : len(vals)] = vals + + np.savez( + str(out_path), + idx=idx.astype(np.int32), + val=val, + nnz_per_row=nnz_per_row, + n_rows=np.array([n_rows], dtype=np.int64), + n_dims=np.array([n_dims], dtype=np.int64), + ) + print(json.dumps({"n_rows": n_rows, "n_dims": n_dims, "max_nnz": int(counts.max(initial=0))})) + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/tasks/sparse-elsa-item-embeddings-8nnz/tests/test.sh b/tasks/sparse-elsa-item-embeddings-8nnz/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..8a94b206b998264f438f6875d44189fae27dc55d --- /dev/null +++ b/tasks/sparse-elsa-item-embeddings-8nnz/tests/test.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +set -u + +mkdir -p /logs/verifier +chown root:root /logs/verifier 2>/dev/null || true +chmod 755 /logs/verifier 2>/dev/null || true +rm -f /logs/verifier/reward.txt /logs/verifier/ctrf.json /logs/verifier/metric.json + + +default_reward_to_zero() { + [ -s /logs/verifier/reward.txt ] || printf '0\n' > /logs/verifier/reward.txt +} +trap default_reward_to_zero EXIT + +chmod -R go-rwx /tests + + +export GRADE_SPLIT=final +cd /tests +/usr/local/bin/python3 -m pytest --ctrf /logs/verifier/ctrf.json /tests/test_state.py -rA +/usr/local/bin/python3 /tests/compute_reward.py + +exit 0 diff --git a/tasks/sparse-elsa-item-embeddings-8nnz/tests/test_state.py b/tasks/sparse-elsa-item-embeddings-8nnz/tests/test_state.py new file mode 100644 index 0000000000000000000000000000000000000000..94ffa6d3c256c837dd629a5f4a6b1ccf4283e487 --- /dev/null +++ b/tasks/sparse-elsa-item-embeddings-8nnz/tests/test_state.py @@ -0,0 +1,90 @@ +import os +import sys +from pathlib import Path + +sys.path.insert(0, str(Path(__file__).resolve().parent)) + +import grader_core + +DELIVERABLE = Path("/app/output") +TRAIN_PATH = Path("/tests/data/train.npz") + + +SPLIT = os.environ.get("GRADE_SPLIT", "final") +EVAL_PATH = Path("/tests/hidden_data") / SPLIT / "eval.npz" +N_EVAL_ROWS = 6250 +HARNESS_DIR = Path("/tmp/graded_harness") +WORK_DIR = Path("/tmp/graded_work") +METRIC_PATH = Path("/logs/verifier/metric.json") +PYTHON = "/usr/local/bin/python3" + +_RESULT = None + + +def graded_run(): + global _RESULT + if _RESULT is None: + _RESULT = grader_core.grade( + code_dir=DELIVERABLE, + train_path=TRAIN_PATH, + eval_path=EVAL_PATH, + harness_dir=HARNESS_DIR, + work_dir=WORK_DIR, + metric_path=METRIC_PATH, + python_exe=PYTHON, + run_as="agent", + timeout_sec=grader_core.CANDIDATE_TIMEOUT_SEC, + ) + return _RESULT + + +def test_graded_run_is_unprivileged_and_bounded(): + """The submitted code must be executed with privilege dropped to the agent uid, detached + into its own session, and killed at the declared wall-clock budget -- so it can neither read + the sealed evaluation slice nor outlive its own deadline.""" + cmd = grader_core.candidate_command( + PYTHON, + HARNESS_DIR / "run_candidate.py", + HARNESS_DIR / "candidate_code", + HARNESS_DIR / "train.npz", + WORK_DIR / "embedding.npz", + run_as="agent", + timeout=grader_core.CANDIDATE_TIMEOUT_SEC, + ) + assert any(part.endswith("runuser") for part in cmd), cmd + assert cmd[cmd.index("-u") + 1] == "agent", cmd + assert "setsid" in cmd and "timeout" in cmd, cmd + assert "--signal=KILL" in cmd, cmd + assert str(int(grader_core.CANDIDATE_TIMEOUT_SEC)) in cmd, cmd + assert not EVAL_PATH.is_relative_to(HARNESS_DIR), EVAL_PATH + + +def test_entry_point_executes_within_budget(): + """/app/output/solution.py must import, expose build_item_embeddings, and return an + embedding within the declared wall-clock budget.""" + res = graded_run() + assert res["stage"] != "execution", res["detail"] + + +def test_embedding_satisfies_declared_budget(): + """The returned matrix must be 10000 x d with 1 <= d <= 65536, finite, real, and at most + 8 stored nonzeros in every row.""" + res = graded_run() + assert res["n_dims"] is not None, res["detail"] + assert 1 <= res["n_dims"] <= grader_core.MAX_DIMS, res["n_dims"] + assert res["max_nnz_per_item"] <= grader_core.MAX_NNZ_PER_ITEM, res["max_nnz_per_item"] + + +def test_metric_and_reward_recorded(): + """The mean nDCG@100 over the sealed evaluation rows is recomputed here and recorded with + the reward it maps to.""" + res = graded_run() + assert res["valid"], res["detail"] + assert res["n_eval_rows"] == N_EVAL_ROWS + assert res["metric"] is not None and 0.0 <= res["metric"] <= 1.0 + assert 0.0 <= res["reward"] <= 1.0 + print( + f"mean nDCG@100 = {res['metric']:.6f} (sem {res.get('per_row_sem')}) " + f"over {res['n_eval_rows']} rows; d={res['n_dims']}; " + f"max nnz/item={res['max_nnz_per_item']}; candidate ran {res['elapsed_sec']}s" + )