There were 30 women and 20 men who attended the party. After few hours, 2/5 of the total number of people left. If 9 men left the party, how many more women stayed at the party than men?
There were 30 + 20 = 
<gadget id="calculator">30+20</gadget>
<output>50</output>
50 attendees at the party.
A total of 50 x 2/5 = 
<gadget id="calculator">50*2/5</gadget>
<output>20</output>
20 people left the party.
Nine of those who left were men while 20 - 9 = 
<gadget id="calculator">20-9</gadget>
<output>11</output>
11 of them were women.
So, 30 - 11= 
<gadget id="calculator">30-11</gadget>
<output>19</output>
19 women stayed at the party.
And 20 - 9 = 
<gadget id="calculator">20-9</gadget>
<output>11</output>
11 men stayed at the party.
Thus, 19 - 11 = 
<gadget id="calculator">19-11</gadget>
<output>8</output>
8 more women than men stayed at the party.

<result>8</result>