#Z15314. 单词的长度

单词的长度

Here's the translation of the given Chinese text to English while preserving all markdown formatting and code blocks:

## Description

Input a sequence of words separated by one or more spaces, and calculate the length of each corresponding word.  
Note: If there are punctuation marks (such as hyphens or commas), they are considered part of the connected word. Any sequence of characters not separated by spaces is counted as a word.

## Input Format

A sequence of words on one line, with a minimum of 1 word and a maximum of 300 words. Words are separated by at least one space. The total length of the word sequence does not exceed 1000.

## Output Format

Output the lengths of the corresponding words in order, separated by commas.
She was born in 1990-01-02  and  from Beijing city.

3,3,4,2,10,3,4,7,5