HackerRank - Handshake
Introduction
At the annual meeting of Board of Directors of Acme Inc. If everyone attending shakes hands exactly one time with every other attendee, how many handshakes are there?
Input and Output Format
# Input:
2
1
2
# Output:
0
1
Process
This is a math challenge. So using the primitive