6. (5 points) There is a class of four-digit numbers, where the sum of any two adjacent digits is no greater than 2. If these numbers are arranged in ascending order, what is the second to last number? $\qquad$ .