#C113. Most Frequent Word Length
Most Frequent Word Length
Most Frequent Word Length
Given a text string, determine the most frequently occurring word length. A word is defined as a contiguous sequence of English alphabet letters (both lowercase and uppercase), and the comparison is case-insensitive. In the event of a tie, return the smallest word length amongst those that occur the most.
For example, in the input "A quick brown fox jumps over the lazy dog, running swiftly under the setting sun.", the word lengths are computed and the most frequent word length is 3.
inputFormat
The input is a single text string that may span multiple lines and include spaces, punctuation, and other non-alphabet characters. The entire input should be read from standard input (stdin).
outputFormat
Output a single integer representing the most frequently occurring word length. If there is a tie, output the smallest word length among those with maximum frequency. The output should be written to standard output (stdout).
## samplehello
5
</p>