#C52. Shortest Word Finder
Shortest Word Finder
Shortest Word Finder
Given a string consisting of multiple words separated by single spaces, find the shortest word along with its length. In case there are multiple words with the same minimum length, output the first occurrence.
Example:
Input: "Python Java C CSharp"
Output: C 1
This problem tests basic string manipulation and parsing skills. Solve the problem by reading input from the standard input (stdin) and writing the result to the standard output (stdout). The output should display the shortest word followed by a space and then its length.
inputFormat
The input consists of a single line containing a string of words separated by single spaces.
You should read the complete line from stdin.
outputFormat
Print the shortest word followed by a space and its length. If there are several words with the same minimum length, the first occurrence must be printed.
The output should be sent to stdout.
## samplePython Java C CSharp
C 1