Let S(N) denote the digit sum of the integer N. As N ranges over all 3-digit positive numbers, what value of N would give the minimum of M=NS(N)?

199