renamed printExpo() to printInputs() and compacted code, output is the same.