A two-digit number is increased by 54 when the digits are reversed. If the sum of the digits is 12, find the number.