Write a program to find the sum of digits of a given number.
Asked in
Examples
Click Run to test sample cases, or Submit to evaluate all cases