ABC: updated with structured answer.

Includes a possible technique to encode multi-inputs for
auto-templating.