1085: Sum of Digits in the Minimum Number

Problem Statement