More compaction of printInputs()