The number n is a 2-digit number. When n is divided by 10, the remainder is 9 and when n is divided by 9, the remainder is 8. What is the value of n?