A book has 365 pages in total, how many numbers are used when numbering the pages? (e.g. 12 uses two numbers)
一本书共365页，在编制页码时共用了多少个数字．(如12用了两个数字)
<gadget id="calculator">90 * 2</gadget>
<output>180</output>

<gadget id="calculator">365 - 99</gadget>
<output>266</output>

<gadget id="calculator">3 * 266</gadget>
<output>798</output>

<gadget id="calculator">9 + 180 + 798</gadget>
<output>987</output>

<result>987</result>