If the whole input file you just downloaded is displayed in one line, then that’s the fault of your editor.

Solution: Open the input file in any editor that is not the Notepad from Windows. Almost any other editor works just fine.

For the output file, we accept newlines from Windows (CL+LF) and OS X, Linux or any other Unix (LF).

For more informations, refer to Wikipedia.