Find the sum of digits of a given 3-digit number.
A single line contains a positive 3-digit number.
Print the sum of its digits.
This editor records if code is AI assisted. Write it yourself — if you are stuck, ask your teacher.