Math
posted by John .
Let S(n) denote the sum of digits of the integer n. Over all positive integers, the minimum and maximum values of S(n)/S(5n) are X and Y, respectively. The value of X+Y can be written as a/b , where a and b are coprime positive integers. What is the value of a+b?

16