4. Guangtouqiang and Shiliqiang cooperate to print a historical manuscript with a page count between 2010 and 2060. Both of them print an integer number of pages. When Guangtouqiang completes $\frac{5}{7}$ of his task, Shiliqiang completes $70\%$ of his task, at which point the number of unprinted pages for both is the same. This historical manuscript has $\qquad$ pages.
$2050$