Given an integer N not less than 3, find the sum of the interior angles of a regular polygon with N sides.  Print the answer in degrees, but do not print units.
print(180 *  (int(input()) - 1))
print(180 *  (int(input()) - 2))