Make actual output match sample output.

The actual result of running `main` didn't quite match the sample output shown in the comments at the end. A few tweaks to `Println` calls fixes this.