1939 数字字符


Submit solution

Points: 100
Time limit: 1.0s
Memory limit: 32M

Problem types
Allowed languages
C, C++, Java, Python

Description

有一些字串,需要统计每个字串中有多少个数字字符。

Input

若干行字串(1<=行长<=100)。

Output

针对每行输入,输出一行数字字符个数。

Sample

Input

1 sheep, 2 sheep, 3 sheep,......
123 456  7 8 9 ******
Stray birds come to my window to sing.

Output

3
9
0

Source: yz


Comments

There are no comments at the moment.