Matching Digit Sums

Problem 676