added output of all entered numbers counting from 1, rearranged position within for-loop