Problem Description

If there are n people and everyone shakes hands once, how many handshakes?

Input Format

One integer n.

Output Format

One integer.

Sample Test Case

Input:
5
Output:
10

Constraints

0

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next