To number the pages of a book, a total of 1002 numbers are used. How many pages does this book have?
给一本书编页码，一共用了1002个数字，这本书共有多少页．
<gadget id="calculator">90 * 2</gadget>
<output>180</output>

<gadget id="calculator">1_002 - 9 - 180</gadget>
<output>813</output>

<gadget id="calculator">813 / 3</gadget>
<output>271</output>

<gadget id="calculator">99 + 271</gadget>
<output>370</output>

<result>370</result>