Problem2235--数字字符求和

2235: 数字字符求和

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

Description

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

Input

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

Output

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

Sample Input Copy

Lsd2f02k3ja3sdf223

Sample Output Copy

17

Source/Category