You are given an integer N. You need to print the number of diagonals of a polygon having N vertices.
Input Format
Output Format
Constraints
\(3 \le N \le 10000\)
A quadrilateral is the polygon having 4 vertices, and as we know, a quadrilateral has two diagonals.