There is a comic book divided into two volumes. It is known that the page numbers of the first and second volumes share 783 numbers, and the first volume is 5 pages shorter than the second volume. So, how many pages are there in the first and second volumes of this comic book?
有一本漫画书分上、下两册，己知上、下两册的页码共用了783个数字，且上册比下册少5页．那么，这本漫画书上、下两册一共有多少页？
<gadget id="calculator">5 * 3</gadget>
<output>15</output>

<gadget id="calculator">783 - 15</gadget>
<output>768</output>

<gadget id="calculator">768 / 2</gadget>
<output>384</output>

<gadget id="calculator">9 * 1</gadget>
<output>9</output>

<gadget id="calculator">2 * 90</gadget>
<output>180</output>

<gadget id="calculator">384 - 9 - 180</gadget>
<output>195</output>

<gadget id="calculator">195 / 3</gadget>
<output>65</output>

<gadget id="calculator">65 + 9 + 90</gadget>
<output>164</output>

<gadget id="calculator">164 + 5</gadget>
<output>169</output>

<gadget id="calculator">164 + 169</gadget>
<output>333</output>

<result>333</result>