
$g\colon [n] \to \Z$
