Add newline after each end if getting list from STDIN