Write a program to remove trailing blanks and tabs from each line of input, and to delete entirely blank lines.
A line is entirely blank if nothing is left after removing its trailing blanks and tabs. Keep each line's newline, if it has one.
No submissions yet