When you reverse the digits in a certain two-digit number you decrease its value by 9. What is the number if the sum of its digits is 7?