A 9-digit number is formed by using each of the digits from 1 to 9 exactly once (the digits can be in any order). Let be the reverse of (for example, if , then ). Define a function . When is divided by 9, the quotient is , and the remainder is . Among all possible formations of , find the maximum possible value of .