#C4389. Shortest Word Length
Shortest Word Length
Shortest Word Length
Given a sentence string s, your task is to determine the length of the shortest word in the sentence. A word is defined as a sequence of characters separated by whitespace. For example, if s = \(\text{the quick brown fox}\), the shortest word is \(\text{the}\) which has a length of 3.
Read the input from standard input and output the result to standard output.
inputFormat
The input consists of a single line containing the sentence s.
outputFormat
Output a single integer that represents the length of the shortest word in the input sentence.
## samplethe quick brown fox
3