Below is an instruction that describes a task. Write a response that appropriately completes the request in Swahili. Please answer in Swahili.

### Instruction:
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?

### Response:
 Usiku wa dansi, wanafunzi 70/100*400 = <<70/100*400=280>>280 waliohudhuria sherehe walikuwa wamealikwa.
Ikiwa asilimia 40 ya wale walioalikwa walipokonywa mwaliko, kulikuwa na wanafunzi 40/100*280 = <<40/100*280=112>>112 waliohudhuria sherehe na walioalikwa.
Idadi ya wanafunzi walioalikwa waliohudhuria sherehe ni 280-112 = <<280-112=168>>168.