each number is printed on seprate line how should i solve it?