Problem I: 无向完全图边数

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:89 Solved:81

Description

输入无向完全图的点数n,求它的边数。

Input

输入无向完全图的点数n

Output

输出无向完全图边数

Sample Input Copy

4

Sample Output Copy

6