The sum of the digits of a two-digit number is 7. When the digits are reversed, the number is increased by 27. Find the number.