Problem2175--数字字符求和

2175: 数字字符求和

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

Submit

Description

请编写一个程序实现以下功能:
从一个字符串中,提取出所有的数字字符,即0-9,并作为数字求和。

Input

一行字符串,长度不超过100,字符串中不含有空格。

Output

字符串中所有数字字符作为数的和。

Sample Input Copy

Lsd2f02k3ja3sdf223

Sample Output Copy

17

Source/Category