Corrected code to show each number in own line.