Word Count -- Problem A (5 points)

Print out the number of words on each line in a file. A word is defined as a string of non-blank characters separated by one or more blanks, except that a word at the start of a line may have no blanks before it, and a word at the end of a line may have no blanks after it. A "blank" is a space character (ASCII 32).

Input will be from a file PROBLEMA.DAT. There will be no more than 60 characters per line. The file will be terminated by a line consisting of a single character '#'.

Output, which must be written to standard output (the screen), will be one line for each line of input. Each output line must contain the message "The line contains N words", where N is the number of words. There must be one blank between the words "contains", the number N. and the word "words".

Example Input

Now is the hour of battle. All hands  to the pumps ###!.


Example Output

The line contains 12 words
The line contains 0 words
The line contains 1 words