{"raw_statement":[{"iden":"statement","content":"The sum of the angles in a triangle is 180, and the sum of the angles in a square is 360. In fact, the sum of angles in any polygon increases by 180 with each side added to the polygon. In this problem, you must figure out the sum of angles of a polygon, given its number of sides.\n\nThe first line of the input contains a positive integer _T_ indicating the number of test cases in the problem. The next _T_ lines each contain a positive integer _n_ (_1_ <= _n_ <= _100_): the number of sides of each polygon.\n\nOutput _T_ integers: the sum of the angles in each polygon.\n\n"},{"iden":"input","content":"The first line of the input contains a positive integer _T_ indicating the number of test cases in the problem. The next _T_ lines each contain a positive integer _n_ (_1_ <= _n_ <= _100_): the number of sides of each polygon."},{"iden":"output","content":"Output _T_ integers: the sum of the angles in each polygon."}],"translated_statement":null,"sample_group":[],"show_order":[],"formal_statement":"**Definitions**  \nLet $ T \\in \\mathbb{Z}^+ $ be the number of test cases.  \nFor each test case $ k \\in \\{1, \\dots, T\\} $, let $ n_k \\in \\mathbb{Z}^+ $ denote the number of sides of a polygon.\n\n**Constraints**  \n1. $ 1 \\le T \\le 100 $  \n2. For each $ k \\in \\{1, \\dots, T\\} $, $ 3 \\le n_k \\le 100 $ (note: polygon must have at least 3 sides)  \n\n**Objective**  \nFor each polygon with $ n_k $ sides, compute the sum of interior angles:  \n$$\nS_k = 180(n_k - 2)\n$$","simple_statement":"Given a polygon with n sides, the sum of its interior angles is (n-2)*180. For each test case, output the sum of angles.","has_page_source":false}