After competing virtually in all CodeForces rounds of the past three years, Geosé finally mastered graph problems. Graph coloring became his favorite topic in graph theory. While looking for a problem that combines this topic and geometry, he came up with the following problem:
You are given a convex polygon with $$$n$$$ vertices. For each pair of vertices, a line segment connecting them is drawn. Note that $$$\binom{n}{2}$$$ segments are drawn in total.
You must assign a color to each segment. A coloring is said to be valid if it satisfies the following condition:
Two segments are considered to intersect if they share at least one common point, including endpoints. In particular, segments that share a vertex are also considered intersecting.
The problem asked to determine the minimum number of colors required to obtain a valid coloring. The first approach that Geosé tried was to write down the number of lines that are drown when $$$n$$$ vertices are given. Help Geosé to verify that the numbers that he wrote down are correct. Given $$$n$$$, print the number of lines that are drown.
The input contains a single integer $$$n$$$ ($$$1 \leq n \leq 10$$$) — the number of vertices in the polygon.
For each test case, print the number of lines that are drawn.
1
0
3
3
10
45