6. In the equation below, the same Chinese characters represent the same digits, different Chinese characters represent different digits. The maximum value of the four-digit number “挑战自我” is $\qquad$ -.


$2961$