~/algor $ cat problems/string-sozlar-uzunliklari
Word lengths
Easy
1000 ms
64 MB
31%
A line of several words separated by single spaces is given. Print, in order, the length of every word (how many letters it has).
Input
One line of words.
Output
Space-separated integers — the lengths of the words.
Note
the length of the line is from $1$ to $10^{5}$
the words consist of lowercase Latin letters, separated by single spaces, with no spaces at the start or end of the line
Examples
Input #1
men dasturlashni yaxshi koraman
Output #1
3 12 6 7
Input #2
a
Output #2
1