6. The product of two natural numbers $A, B$ is 2000, and there is a four-digit number that can be expressed both as the product of $(A-3)$ and $(A-7)$, and as the product of $(B+3)$ and $(B+7)$. This four-digit number is $\qquad$.
$2021$