e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

Quick start C

Length of words

Given text - sequence of words. Find the length of each word.

Input

Text contains sequence of words. The length of each word is no more than 20.

Output

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