After the party, Jane washed half of the glasses. Alex washed half of the remaining glasses, and then Sasha Alex washed half of the unwashed glasses. In the end, David was left with three glasses to wash. If half of the guests used two glasses and the other half used one glass, how many people were at the party?