On the night of the dance, 400 students show up to the party. 70% of the students who showed up were invited. If 40% of those invited to the party had their invitation revoked and were not allowed into the party, how many invited students attended the party?
On the night of the dance 70/100*400 = 
<gadget id="calculator">70/100*400</gadget>
<output>280</output>
280 students who showed up to the party were invited.
If 40% of those invited to the party had their invitation revoked, there were 40/100*280 = 
<gadget id="calculator">40/100*280</gadget>
<output>112</output>
112 students who showed up and had their invitation revoked.
The number of invited students who attended the party is 280-112 = 
<gadget id="calculator">280-112</gadget>
<output>168</output>
168.

<result>168</result>