#C4048. Total Internal Angles of a Polygon
Total Internal Angles of a Polygon
Total Internal Angles of a Polygon
Given a polygon with n sides, determine the total sum of its internal angles in degrees.
The formula for calculating the sum of the internal angles is given by:
$$\text{sum}=(n-2)\times180$$
Note: The number of sides n will always satisfy n ≥ 3.
inputFormat
The input consists of a single line containing one integer n (n ≥ 3) - the number of sides of the polygon.
outputFormat
Output a single integer which is the total sum of the internal angles of the polygon in degrees.
## sample3
180