Professor Antônio discovered an interesting property related to the integer that represents his age. He told his students that and that . What is the professor's age?
Note: We are using a bar to distinguish the decimal representation of the four-digit number from the product . For example, if , then and . The notation is the same for numbers with other quantities of digits.