#GYM104720A. Bread Bonanza

Bread Bonanza

Description

Baker Sdozen is participating in the grand baking competition known as the "Bread Bonanza." In this exhilarating contest, chefs compete to bake as much bread as possible. Whoever makes the most bread (by weight) wins.

However, due to the limitations of their weighing scale, each measurement only yields a single-digit value. Thus, the clever Baker has decided to weigh their bread piece by piece, ensuring that all the bread gets weighed. To complicate matters further, when recording the weights, Baker Sdozen did not put any spaces between the measurements, resulting in what appears to be a very long number.

Given this resulting long number, help Baker Sdozen calculate the total weight of all the bread by adding up all the digits.

A single integer, with $1000$ or fewer digits.

Print a single integer, the total weight of all the bread.

Input

A single integer, with $1000$ or fewer digits.

Output

Print a single integer, the total weight of all the bread.

493
9383
16
23

Note

In the first example, $4 + 9 + 3 = 16$.

In the second example, $9 + 3 + 8 + 3 = 23$.