I get an error when checking the last condition: Display the resulting list, each element on a new line.