EasyRating 800
Handshakes
n people each shake hands with everyone else once. Print the number of handshakes.
Input
One integer n.
Output
A count.
Sample 1
Input
2
Output
1
Sample 2
Input
1
Output
0
Output appears hereOne integer n.
A count.
2
1
1
0
Output appears here