combine for and var n; no space after `for`