The sum of the digits of a two-digit number is 9. If 27 is added to it, the digits are reversed. Find the number.