A number consists of two digits. The sum of the digits is $9$. If $45$ is subtracted from the number, its digits are interchanged. What is the number?