eolymp
bolt
Try our new interface for solving problems
Problems

Length of words

Length of words

Given text --- sequence of words. Find the length of each word. \InputFile Text contains sequence of words. The length of each word is no more than $20$. \OutputFile For each word print in one line its length.
Time limit 1 second
Memory limit 128 MiB
Input example #1
Programming Principles 1
Output example #1
11 10 1
Input example #2
I like C 
very
much
Output example #2
1 4 1 4 4