Sinoka wants to render a model made of regular polygons by dividing each polygon into nonoverlapping triangles. Find the number of triangles needed for each polygon.
The input is given in the following format:
Each case is given in the following format:
is the number of vertices of the -th regular polygon.
For each case, print the number of triangles for each polygon in input order, one per line.