$1024$
39. Below is a vertical addition problem. Fill in each box with a digit from $0 \sim 9$, using each digit only once, to make the equation true. Then, the smallest four-digit addend is $\qquad$ -