The sum of the digits of a two-digit number is 10, while when the digits are reversed, the number decreases by 54. Find the changed number.