#K69402. Shortest Word Length Finder
Shortest Word Length Finder
Shortest Word Length Finder
Given a sentence containing several words separated by spaces, your task is to determine the length of the shortest word. Formally, if the sentence is represented as \(S = \{w_1, w_2, \ldots, w_n\}\), you must compute \(\min_{1 \leq i \leq n} |w_i|\), where \(|w_i|\) denotes the number of characters in word \(w_i\).
Input will consist of a single line containing the sentence. Your program should output a single integer corresponding to the length of the shortest word.
inputFormat
The input consists of a single line from stdin containing a sentence. The sentence will have words separated by spaces.
outputFormat
The output should be a single integer printed to stdout representing the length of the shortest word in the sentence.
## sampleThe quick brown fox
3