Problem1523--Numbers

1523: Numbers

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Submit

Description

Input

999
233333
0123456789

Output

2
0
55

Sample Input Copy

999
233333
0123456789

Sample Output Copy

2
0
55