Comma Separated Sum

No attempts yetTime limit1sMemory limit256 MB

Problem

A string SS made up only of digits and commas is given. SS lists natural numbers in order, separated by single commas. Find the sum of all natural numbers written in SS.

Input

The first line contains the string SS. The length of SS is at most 100, and SS consists only of digits and commas. Each natural number written in SS is at most 1,000,000.

Output

Print the sum of the natural numbers written in SS on the first line.