A group of friends shook hands with each other at a party. Peter did notshake hands with everyone at the party because he was late and somefriends had already left. There were a total of 25 handshakes. How many friends were still at the party when Peter arrived?