Xiao Ming needs 10 hours to type this manuscript, and Xiao Hong needs 8 hours. The two of them typed together for 4 hours, but there were 5,000 words left. How many words are there in this manuscript?
小明打这份稿件需10小时，小红需8小时．他俩合打了4时，结果还剩5000字，这份稿件有多少字？
<gadget id="calculator">1 / 10</gadget>
<output>1/10 = around 0.1</output>

<gadget id="calculator">1 / 8</gadget>
<output>1/8 = around 0.125</output>

<gadget id="calculator">(1/10) + (1/8)</gadget>
<output>9/40 = around 0.225</output>

<gadget id="calculator">(9/40) * 4</gadget>
<output>9/10 = around 0.9</output>

<gadget id="calculator">1 - (9/10)</gadget>
<output>1/10 = around 0.1</output>

<gadget id="calculator">5_000 / (1/10)</gadget>
<output>50_000</output>

<result>50_000</result>