3 people run for president.  John manages to capture 150 votes. James captures 70% of the remaining vote.  If there were 1150 people voting, how many more votes did the third guy get than John?
There were 1150-150=
<gadget id="calculator">1150-150</gadget>
<output>1_000</output>
1000 people who didn't vote for John.
That means James got 1000*.7=
<gadget id="calculator">1000*.7</gadget>
<output>700</output>
700 votes.
So the other candidate got 1000-700=
<gadget id="calculator">1000-700</gadget>
<output>300</output>
300 votes.
This means he got 300-150=
<gadget id="calculator">300-150</gadget>
<output>150</output>
150 more votes than John.

<result>150</result>