#E. 练69.1 单词的长度

    Type: RemoteJudge 1000ms 256MiB

练69.1 单词的长度

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

输入一行单词序列,相邻单词之间由 11 个或多个空格间隔,请对应地计算各个单词的长度。
注意,如果有标点符号(如连字符,逗号,句号),标点符号算作与之相连的词的一部分。没有被空格间隔开的符号串,都算作单词。

输入格式

一行单词序列,最少11个单词,最多300300个单词,单词之间用至少11个空格间隔。单词序列总长度不超过10001000

输出格式

依次输出对应单词的长度,之间以逗号间隔。

样例

Sample Input 1

She was born in 1990-01-02  and  from Beijing city.

Sample Output 1

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