4. Zhang Hua wrote a five-digit number, which can be divided by 9 and 11. If the first, third, and fifth digits are removed, the resulting number is 35; if the first three digits are removed, the resulting number can be divided by 9; if the last three digits are removed, the resulting number can also be divided by 9. Then, this number is $\qquad$
4.63954.

Let this five-digit number be $\overline{a 3 b 5 c}$, then $9 \mid \overline{5 c}$.
So, $9 \mid(5+c)$.
Since $5 \leqslant 5+c \leqslant 14$, thus $5+c=9, c=4$.
Similarly, $9 \mid \overline{a 3}$, then $9 \mid(a+3)$.
Since $4 \leqslant a+3 \leqslant 12$, so $a=6$.
Also, $91 \overline{a 3 b 5 c}$, then
$9 \mid(a+3+b+5+c)$, i.e., $9 \mid(18+b)$.
So, $b=0$ or 9.
Also, $11 \mid \overline{a 3 b 5 c}$, then $11 \mid(a+b+c-5-3)$.
Thus, $11 \mid(2+b)$.
Therefore, $b=9$.
So, this five-digit number is 63954.