eolymp
bolt
Try our new interface for solving problems
Problems

The sum of digits

The sum of digits

Time limit 1 second
Memory limit 128 MiB

Find the sum of the digits of the integer n.

Input data

One 32-bit integer n (the number can be negative).

Output data

Print the sum of the digits of the number n.

Examples

Input example #1
321
Output example #1
6