CONTEXT:
{context}

TASK TYPE: `text_to_num`

QUERY:
{query}

This is a text-to-number task. CONTEXT shows how number words (or number expressions) map to values; convert each QUERY expression into digits.

How to solve:
1. Infer the number system from CONTEXT (bases, place values, multipliers, word order).
2. Apply it to each QUERY expression.
3. Return only the numeric value in ordinary digits (e.g. 42), with no units or words.
4. Do not spell numbers out and do not add commentary on the answer lines.

Draft, then verify each QUERY item has a digit answer. Finally write a line that says exactly `FINAL ANSWERS:` and, below it, one bare number per item in QUERY order — no numbering, no quotes, no extra text.
