#K81802. Sum of Digits
Sum of Digits
Sum of Digits
Given a non-negative integer \(n\), your task is to compute the sum of its digits.
The problem is straightforward: you are expected to take a single integer as input and output the sum of its digits. For example, if \(n = 123\), the sum of its digits is \(1+2+3 = 6\).
Make sure to read the input from stdin and print the result to stdout.
inputFormat
The input consists of a single non-negative integer \(n\) provided through stdin.
outputFormat
Output a single integer representing the sum of digits of \(n\) to stdout.
## sample123
6