A program that when given a positive integer, it outputs the sum of its constituent digits.