There were a total of 50 guests in a movie screening of which half of the guests are women, 15 are men, and the rest are children. In the middle of the movie, 1/5 of the men and 4 children left. How many people stayed?
Being women half of the guests, there were 50/2 = 
<gadget id="calculator">50/2</gadget>
<output>25</output>
25 women in the movie screening.
Adding the 15 men to the number of women guests, there were 25 + 15 = 
<gadget id="calculator">25+15</gadget>
<output>40</output>
40 men and women.
From a total of 50 guests, 50 - 40 = 
<gadget id="calculator">50-40</gadget>
<output>10</output>
10 were children.
Knowing 1/5 of the men left, 15/5 = 
<gadget id="calculator">15/5</gadget>
<output>3</output>
3 men left.
Thus, 3 men + 4 children = 
<gadget id="calculator">3+4</gadget>
<output>7</output>
7 people left in all.
Therefore, 50 - 7 = 
<gadget id="calculator">50-7</gadget>
<output>43</output>
43 people stayed.

<result>43</result>