template TestConstraints(n) { signal input in; signal output out; signal intermediate[n]; intermediate[0] <== in; for (var i=1; i