What are the other stipulations? Can she be invited to multiple parties by the same person? Can more than one person invite her to the same party? Does she need to be invited by a friend? Can she still have friends if X is zero?<p>The question as stated is a bit vague.