During a party a total of 78 handshakes occurred. If each person shook hands once with each of the other people , how many people were at the party?