prompt: 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?
messages.content: 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?
messages.role: user
messages.content: On the night of the dance 70/100*400 = <<70/100*400=280>>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 = <<40/100*280=112>>112 students who showed up and had their invitation revoked.
  The number of invited students who attended the party is 280-112 = <<280-112=168>>168
  #### 168
messages.role: assistant