In a party, everyone gave a gift to everyone else. The total number of gifts exchanged in the party was 600. How many persons were present in the party?