Avoiding blank lines at the end of puzzlers 25, 27 and 28