#C4728. Sum of Digits in a String
Sum of Digits in a String
Sum of Digits in a String
You are given a string that contains both alphabetic characters and digits. Your task is to compute the sum of all the digits present in the string.
For example, given the string \( a1b2c3 \), the result should be \( 1+2+3=6 \). Your solution should read the input from standard input (stdin) and output the result to standard output (stdout).
inputFormat
The input consists of a single line containing a non-empty string with alphanumeric characters.
outputFormat
The output is a single integer representing the sum of all numeric digits found in the input string.
## samplea1b2c3
6