Problem:
 Score : 100 points    Problem Statement 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.      Constraints  3 \leq N \leq 100         Input Input is given from Standard Input in the following format:  N       Output Print an integer representing the sum of the interior angles of a regular polygon with N sides.        Sample Input 1 3      Sample Output 1 180  The sum of the interior angles of a regular triangle is 180 degrees.       Sample Input 2 100      Sample Output 2 17640

Solution (Python):
n= int(input())
ans = 180*(n-2)
print(ans)

Solution (Python):
n=int(input())
print(180*(n-2))

Solution (Python):
N = int(input())

rad = (N-2) * 180
print(rad)

Solution (Python):
input_line = input()
n = int(input_line)

print(str(180*(n-2)))

Solution (Python):
N = int(input())
print((N-2)*180)

Solution (Python):
n=int(input())
print(180*n-360)

Solution (Python):
N = int(input())
print((N - 2) * 180)

Solution (Python):
N=int(input())
print(180*(N-2))

Solution (Python):
N = int(input())

print(180 * (N - 2))

Solution (Python):


n = int(input())

print((n-2)*180)

Solution (Python):
N = int(input())
x = 180*(N-2)
print(x)

Solution (Python):
import sys
from collections import deque
from operator import itemgetter

input = sys.stdin.readline

N = int(input())
print(180*(N-2))

Solution (Python):
N = int(input())
print((N - 2)*180)

Solution (Python):
n = int(input())
print((n - 2) * 180)

Solution (Python):
N = int(input())

print(180*(N-2))

Solution (Python):
n = int(input())
ans = (180-360/n)*n
print(int(ans))

Solution (Python):
import sys
INPUT = sys.stdin.readline

def SINGLE_INT(): return int(INPUT())
def MULTIPLE_INT_LIST(): return list(map(int, INPUT().split()))
def MULTIPLE_INT_MAP(): return map(int, INPUT().split())
def SINGLE_STRING(): return INPUT()
def MULTIPLE_STRING(): return INPUT().split()

N = SINGLE_INT()

print(180 * (N-2))

Solution (Python):
N = int(input())

ans = (N -2) * 180

print(int(ans))

Solution (Python):
n = int(input())
print((n-2)*180)

Solution (Python):
n=int(input())
print(180*(n-2))

Solution (Python):
n=int(input())
print((n-2)*180)

Solution (Python):

n = int(input())

print( (n-2) * 180 )

Solution (Python):

import sys
read = sys.stdin.readline


def read_ints():
    return list(map(int, read().split()))


def read_a_int():
    return int(read())


def read_matrix(H):
    '''
    H is number of rows
    '''
    return [list(map(int, read().split())) for _ in range(H)]


def read_map(H):
    '''
    H is number of rows
    文字列で与えられた盤面を読み取る用
    '''
    return [read()[:-1] for _ in range(H)]


def read_col(H, n_cols):
    '''
    H is number of rows
    n_cols is number of cols

    A列、B列が与えられるようなとき
    '''
    ret = [[] for _ in range(n_cols)]
    for _ in range(H):
        tmp = list(map(int, read().split()))
        for col in range(n_cols):
            ret[col].append(tmp[col])

    return ret


N = read_a_int()
print(180*(N-2))

Solution (Python):
N = int(input())

print(N*180-360)

Solution (Python):
def inpl():
    return list(map(int, input().split()))


n = int(input())

print(180 * (n - 2))

Solution (Python):
n = int(input())
print((n-2) *180)

Solution (Python):
N=int(input())
print(180*(N-2))

Solution (Python):

import sys

input=sys.stdin.readline
mii=lambda:map(int,input().split())

n=int(input())
print(180*(n-2))

Solution (Python):
N = int(input())

print(180*(N-2))

Solution (Python):
n = int(input())
print(180*(n-2))

Solution (Python):
from sys import stdin
N = int(input())

print(int((180*(N-2))))

Solution (Python):
N=int(input())
print((N-2)*180)

Solution (Python):
N = int(input())

print((N + 1 - 3)*180)

Solution (Python):

n = int(input())
print(180 * (n - 2))

Solution (Python):

n = int(input())
print(180*(n-2))

Solution (Python):
n = int(input())
print(180*(n-2))

Solution (Python):
a=int(input())
print(180 * (a - 2))

Solution (Python):
N=int(input())
print((N-2)*180)

Solution (Python):
''' بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ '''

from collections import Counter
gi = lambda : list(map(int,input().strip().split()))
n, = gi()
print(180*(n-2))

Solution (Python):
n = int(input())
ans = (n-2)*180
print(ans)

Solution (Python):
print((int(input())-2)*180)

Solution (Python):
n = int(input())
ans = 180 * (n - 2)
print(ans)

Solution (Python):
from sys import stdin
import math
import itertools


def makeIntMatrix(lines):
    intMatrix = []
    for a in makeStringMatrix(lines):
        intMatrix.append([int(b) for b in a])
    return intMatrix
 
 
def makeStringMatrix(lines):
    stringMatrix = [line.split() for line in lines]
    return stringMatrix
 
 
def makeInt(line):
    return int(line.rstrip())
 
 
def makeMultiInteger(line):
    return [int(x) for x in line.rstrip().split()]


def solve(input_string):
    a = makeInt(input_string[0])
    return 180 * (a - 2)


def main():
    input_lines = stdin.readlines()
    answer = solve(input_lines)
    print(answer)


if __name__ == '__main__':
    main()

Solution (Python):
N = int(input())
print((N-2)*180)

Solution (Python):
import sys
stdin = sys.stdin
sys.setrecursionlimit(10**6)
 
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
nn = lambda: list(stdin.readline().split())
ns = lambda: stdin.readline().rstrip()


n = ni()

print(180*(n-2))

Solution (Python):
N = int(input())
print(180*(N-2))

Solution (Python):
n = int(input())
print(180*(n-2))

Solution (Python):
N = int(input())

print(180*(N-2))

Solution (Python):
a = int(input())
sum = (a-2)*180
print(sum)

Solution (Python):
N=int(input())
print(int((N-2)*180))

Solution (Python):
n=int(input())
print((n-2)*180)

Solution (Python):
n = int(input())

print(180*(n-2))

Solution (Python):
print(180 * (int(input()) -2))

Solution (Python):
N = int(input())
ans = 180 * (N - 2)
print(ans)

Solution (Python):
n=int(input())

x=180*(n-2)

print(x)

Solution (Python):
n  = int(input())
print(180*(n-2))

Solution (Python):
n = int(input())

print(int(180*(n-2)))

Solution (Python):

def solve(): 
    N = int(input())
    res = 180*(N-2)
    return str(res)

if __name__ == '__main__':
    print(solve())

Solution (Python):
n = int(input())

print(180*(n-2))

Solution (Python):
N=int(input())
print(180*(N-2))

Solution (Python):
N=int(input())
print(180*(N-2))

Solution (Python):

import sys


def solve(N: int):
    ret = 180 * (N - 2)
    print(ret)
    return


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    N = int(next(tokens))  
    solve(N)

if __name__ == '__main__':
    main()

Solution (Python):
n = int(input())
print(int((n-2)*180))

Solution (Python):


N = int(input())

print(180*(N-2))

Solution (Python):
n = int(input())

print((n-2)*180)

Solution (Python):
N = int(input())
print("{:.0f}".format((180 -  360 / N) * N))

Solution (Python):
n = int(input())
print(180*(n-2))

Solution (Python):



X = int(input())

print((X - 2) * 180)

Solution (Python):
n = int(input())
print(180 * (n-2))

Solution (Python):
N = int(input())
print(180 * (N - 2))

Solution (Python):
N = int(input())
print(180*(N-2))

Solution (Python):

import sys
input = sys.stdin.readline

n = int(input())
print(180+(n-3)*180)

Solution (Python):
n = int(input())
print(180*(n-2))

Solution (Python):
N = int(input())

print(180*(N-2))

Solution (Python):
N = int(input())


ans = (180 * (N-2))

print(ans)

Solution (Python):
N = int(input())

print(180*(N-2))

Solution (Python):
n = int(input())
print(180 * (n - 2))

Solution (Python):
import sys
range = xrange
input = raw_input

n = int(input())

print (n-2)*180

Solution (Python):
n=int(input())

print((n-2)*180)

Solution (Python):
N=int(input())

print((N-2)*180)

Solution (Python):
n = int(input())
ans = (n - 2) * 180
print(ans)

Solution (Python):
N = int(input())
print(180+(N-3)*180)

Solution (Python):
d=int(input())
print(180*(d-2))

Solution (Python):
n = int(input())

print(180 * (n - 2))

Solution (Python):
N=int(input())
print(180*(N-2))

Solution (Python):
N = int(input())
print(180*(N-2))

Solution (Python):

n = int(input())
print((n - 2) * 180)

Solution (Python):
n=int(input())
print(180*(n-2))

Solution (Python):
n = int(input())
print(180*(n-2))

Solution (Python):
n = int(input())
print((n-2) * 180)

Solution (Python):
n = int(input())
s = 180 * (n-2)
print(s)

Solution (Python):
N = int(input())
print(180 * (N - 2))

Solution (Python):
N=int(input())
print(180*(N-2))

Solution (Python):
n=int(input())
print((n-2)*180)

Solution (Python):

"""<https://github.com/cheran-senthil/PyRival>"""
from __future__ import division, print_function

import os
import sys
from io import BytesIO, IOBase

if sys.version_info[0] < 3:
    from __builtin__ import xrange as range
    from future_builtins import ascii, filter, hex, map, oct, zip
else:
    _str = str
    str = lambda x=b"": x if type(x) is bytes else _str(x).encode()


def main():
    N = read_int()
    print((N-2) * 180)




BUFSIZE = 8192


class FastIO(IOBase):
    newlines = 0

    def __init__(self, file):
        self._fd = file.fileno()
        self.buffer = BytesIO()
        self.writable = "x" in file.mode or "r" not in file.mode
        self.write = self.buffer.write if self.writable else None

    def read(self):
        if self.buffer.tell():
            return self.buffer.read()
        return os.read(self._fd, os.fstat(self._fd).st_size)

    def readline(self):
        while self.newlines == 0:
            b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
            self.newlines = b.count(b"\n") + (not b)
            ptr = self.buffer.tell()
            self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
        self.newlines -= 1
        return self.buffer.readline()

    def flush(self):
        if self.writable:
            os.write(self._fd, self.buffer.getvalue())
            self.buffer.truncate(0), self.buffer.seek(0)


def print(*args, **kwargs):
    """Prints the values to a stream, or to sys.stdout by default."""
    sep, file = kwargs.pop("sep", b" "), kwargs.pop("file", sys.stdout)
    at_start = True
    for x in args:
        if not at_start:
            file.write(sep)
        file.write(str(x))
        at_start = False
    file.write(kwargs.pop("end", b"\n"))
    if kwargs.pop("flush", False):
        file.flush()


sys.stdin, sys.stdout = FastIO(sys.stdin), FastIO(sys.stdout)
input = lambda: sys.stdin.readline().rstrip(b"\r\n")


def read():
    return input()


def read_array(sep=None, maxsplit=-1):
    return read().split(sep, maxsplit)


def read_int():
    return int(read())


def read_int_array(sep=None, maxsplit=-1):
    return [int(a) for a in read_array(sep, maxsplit)]



if __name__ == "__main__":
    main()

Solution (Python):
n = int(input())

print(180 * (n - 2))

Solution (Python):
N=int(input())
print(180*(N-2))

Solution (Python):

N = int(input())
angle = (N-2)*180
print(angle)

Solution (Python):

N = int(input())
print(180*(N-2))

Solution (Python):
from bisect import bisect_left, bisect_right
from collections import Counter, defaultdict, deque, OrderedDict
from copy import deepcopy
from fractions import gcd
from functools import lru_cache, reduce
from math import ceil, floor
from sys import setrecursionlimit

import heapq as hq
import itertools as its
import operator as op



inf = float('inf')
N = 0


def set_inputs():
    global N
    return


def main():
    setrecursionlimit(100000)
    set_inputs()
    
    n = get_int()
    print(180 * n - 360)
    return


def get_int():
    return int(input())


def get_float():
    return float(input())


def get_str():
    return input().strip()


def get_li():
    return [int(i) for i in input().split()]


def get_lf():
    return [float(f) for f in input().split()]


def get_lc():
    return list(input().strip())


def get_data(n, types, sep=None):
    if len(types) == 1:
        return [types[0](input().strip()) for _ in range(n)]
    return list(zip(*(
        [t(x) for t, x in zip(types, input().strip().split(sep=sep))]
        for _ in range(n)
    )))


if __name__ == '__main__':
    main()

Solution (Python):
n=int(input())
print(180*(n-2))

Solution (Python):
n = int(input())
ans = 180*(n-2)
print(ans)

Solution (Python):
N = int(input())
print(180*(N-2))

Solution (Python):
N = int(input())
print((N-2)*180)

Solution (Python):
n=int(input())
Answer = 180*(n-2)
print(Answer)

Solution (Python):
n = int(input())
print(int(n*(180-360/n)))

Solution (Python):
N = int(input())
print(180*(N-2))

Solution (Python):
n = int(input())
print((n-2)*180)

Solution (Python):
import numpy as np
import math

def main():
    n = int(input())
    print((n - 2) * 180)

if __name__ == '__main__':
    main()

Solution (Python):
n=int(input())
print(180*(n-2))

Solution (Python):
N = int(input())
print((N-2)*180)

Solution (Python):
N = int(input())

print((N - 2) * 180)

Solution (Python):
N = int(input())
print((N-2)*180)

Solution (Python):
N = int(input())

ans = 180 * (N-2)
print(ans)

Solution (Python):
N = int(input())
print(180*(N-2))

Solution (Python):
N = int(input())
print((N-2)*180)

Solution (Python):
N = int(input())
print(180*(N-2))

Solution (Python):
N = int(input())
A = 180*(N-2)

print(A)

Solution (Python):
print(180*(int(input())-2))

Solution (Python):
n = int(input())

print(180 * (n-2))

Solution (Python):
a=int(input())
print(180*(a-2))

Solution (Python):
n = int(input())
wa = (n-2)*180
print(wa)

Solution (Python):
N = int(input())

print(180*(N-2))

Solution (Python):
import sys


s2nn = lambda s: [int(c) for c in s.split(' ')]
ss2nn = lambda ss: [int(s) for s in ss]
ss2nnn = lambda ss: [s2nn(s) for s in ss]
i2s = lambda: sys.stdin.readline().rstrip()
i2n = lambda: int(i2s())
i2nn = lambda: s2nn(i2s())
ii2ss = lambda n: [sys.stdin.readline().rstrip() for _ in range(n)]
ii2nn = lambda n: ss2nn(ii2ss(n))
ii2nnn = lambda n: ss2nnn(ii2ss(n))

def main():
    N = i2n()
    n = (N-2) * 180
    print(n)

main()

Solution (Python):
n = int(input())
print(180 * (n-2))

Solution (Python):
N = int(input())
ans = (N-2)*180
print(ans)

Solution (Python):
N=int(input())
print((N-2)*180)

Solution (Python):
N = int(input())
print(180*(N-2))

Solution (Python):
n=int(input())
print((n-2)*180)

Solution (Python):
N = int(input())
print(180*(N-2))

Solution (Python):
N = int(input())
print((N-2)*180)

Solution (Python):
n=int(input())
print(180*(n-2))

Solution (Python):
N = int(input())
print(180 *(N - 2))

Solution (Python):
n=int(input())
print(180*(n-2))

Solution (Python):
n=int(input())
print((n-2)*180)

Solution (Python):
a = int(input())

print((a-2)*180)

Solution (Python):
N = int(input())
print((N-2)*180)

Solution (Python):
n = int(input())
print(180 * (n - 2))

Solution (Python):
n = int(input())
print(180*(n-2))

Solution (Python):
N = int(input())

print(180*(N-2))

Solution (Python):
from heapq import heappush, heappop, heapify, heapreplace

class Solution:
    def main(self):
        N = int(input())
        print(int(180*(N-2)))


if __name__ == '__main__':
    Solution().main()

Solution (Python):
print((int(input())-2)*180)

Solution (Python):

n = int(input())
print((n-2)*180)

Solution (Python):
n=int(input())
print((n-2)*180)

Solution (Python):
N = int(input())
print((N -2) * 180)

Solution (Python):
import sys,heapq
from collections import deque,defaultdict
printn = lambda x: sys.stdout.write(x)
inn = lambda : int(input())
inl   = lambda: list(map(int, input().split()))
inm   = lambda:      map(int, input().split())
DBG = True 
def ddprint(x):
  if DBG:
    print(x)

n = inn()
print(180*(n-2))

Solution (Python):
N = int(input())
print(180*(N-2))

Solution (Python):
N = int(input())
print(180*(N-2))

Solution (Python):
n = int(input())
print((n-2)*180)

Solution (Python):
N = int(input())
print(180 * (N-2) )

Solution (Python):
n = int(input())

angle = 180 * (n-2)

print(angle)

Solution (Python):
N = int(input())

print(180*(N-2))

Solution (Python):
N=input()
print 180*(N-2)

Solution (Python):
n = int(input())

print(180*(n-2))

Solution (Python):
n=int(input())
print(180*(n-2))

Solution (Python):
N = int(input())
print(180*(N-2))

Solution (Python):



def main():
    n = int(input())
    print((n - 2) * 180)


if __name__ == '__main__':
    main()

Solution (Python):
def main():
    N = int(input())
    print(180*(N-2))

if __name__ == '__main__':
    main()

Solution (Python):
N = int(input())
print("{}".format(180 * (N-2)))

Solution (Python):
N = int(input())

print((N-2)*180)

Solution (Python):
import sys,collections as cl,bisect as bs
sys.setrecursionlimit(100000)
Max = sys.maxsize
def l():
	return list(map(int,input().split()))
def m():
	return map(int,input().split())
def s(x):
	a = []
	aa = x[0]
	su = 1
	for i in range(len(x)-1):
		if aa == x[i+1]:
			a.append([aa,su])
			aa = x[i+1]
			su = 1
		else:
			su += 1
	a.append([aa,su])
	return a
def jo(x):
	return " ".join(map(str,x))

n = int(input())

print((n-2)*180)

Solution (Python):


import sys

s2nn = lambda s: [int(c) for c in s.split(' ')]
ss2nn = lambda ss: [int(s) for s in list(ss)]
ss2nnn = lambda ss: [s2nn(s) for s in list(ss)]
i2s = lambda: sys.stdin.readline().rstrip()
i2n = lambda: int(i2s())
i2nn = lambda: s2nn(i2s())
ii2ss = lambda n: [i2s() for _ in range(n)]
ii2nn = lambda n: ss2nn(ii2ss(n))
ii2nnn = lambda n: ss2nnn(ii2ss(n))

def main():
    N = i2n()
    print((N - 2) * 180)
    return

main()

Solution (Python):


N = int(input())
print(180 * (N - 2))

Solution (Python):
def getN():
    return int(input())

def getMN():
    return list(map(int, input().split()))

def getlist():
    return list(map(int, input().split()))

n = getN()
print((n-2) * 180)

Solution (Python):
N = int(input())

print( (N-2) * 180 )

Solution (Python):
n = int(input())
print((n-2)*180)

Solution (Python):
n = int(input())
print(180*(n-2))

Solution (Python):
print((int(input()) -2)*180)

Solution (Python):
N = int(input())
print((N - 2) * 180)

Solution (Python):
N = int(input())

print(180 * (N-2))

Solution (Python):
import sys

N = float(input())

print(int((180.0-360.0/N)*N))

Solution (Python):
N = int(input())

print(180 * (N - 2))

Solution (Python):
n = int(input())

print((n-2)*180)

Solution (Python):
N = int(input())
print(180*(N-2))

Solution (Python):
N = int(input())
print((N - 2) * 180)

Solution (Python):
n = int(input())
if n == 3:
    print(180)
else:
    print(180*(n-2))

Solution (Python):
N = int(input())
print((N - 2) * 180)

Solution (Python):
n=int(input())
print((n-2)*(180))

Solution (Python):

import copy
import random
import bisect 
import fractions 
import math
import sys

mod = 10**9+7
sys.setrecursionlimit(mod) 

N = int(input())
print(180*N-360)

Solution (Python):
print((int(input())-2)*180)

Solution (Python):
n =int(input())
ans = (n-2)*180
print(ans)

Solution (Python):
n = int(input())
print((n-2)*180)

Solution (Python):
n = int(input())

print(180 * (n-2))

Solution (Python):
print((int(input())-2)*180)

Solution (Python):
n = int(input())
print(180*(n-2))

Solution (Python):
def main():
    n=int(input())
    print((n-2)*180)
if __name__ =='__main__':
    main()

Solution (Python):
n = int(input())
print(180*(n-2))

Solution (Python):
n = int(input())
print(180*(n-2))

Solution (Python):
N=int(input())

print(180*(N-2))

Solution (Python):


s = raw_input()

print (int(s)-2)*180

Solution (Python):
n = int(input())
print(180*(n-2))

Solution (Python):
def solve():
  n= int(input())
  ans = 180*(n-2)
  print(ans)
solve()

Solution (Python):
N = int(input())

ans = 180 * (N-2)

print(ans)

Solution (Python):


N =int(input())
print(180*(N-2))

Solution (Python):
print(180 * (int(input()) - 2))

Solution (Python):


import sys

def input(): return sys.stdin.readline().strip()
def list2d(a, b, c): return [[c] * b for i in range(a)]
def list3d(a, b, c, d): return [[[d] * c for j in range(b)] for i in range(a)]
def ceil(x, y=1): return int(-(-x // y))
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def Yes(): print('Yes')
def No(): print('No')
def YES(): print('YES')
def NO(): print('NO')
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
MOD = 10 ** 9 + 7

N=INT()

print((N-2)*180)

Solution (Python):
n = int(input())
print((n - 2) * 180)

Solution (Python):
a = int(input())
print(180 * (a - 2))

Solution (Python):
n = int(input())
print(180 *(n-2))

Solution (Python):
print((int(input()) - 2) * 180)

Solution (Python):
print(180 * (int(input()) - 2))

Solution (Python):
N = int(input())
print((N-2) * 180)

Solution (Python):
from sys import stdin
N=int(stdin.readline().rstrip())
ans=180 * (N-2)
print(ans)

Solution (Python):
n=int(input())
print(180+(n-3)*180)

Solution (Python):
n = int(input())

res = 180 * (n - 2)

print(res)

Solution (Python):
N = int(input())
print((N - 2) * 180)

Solution (Python):
import sys

input = sys.stdin.readline

n = int(input())
print((n-2) * 180)

Solution (Python):
N = int(input())
print(180*(N-2))

Solution (Python):
n=int(input())
print(180*(n-2))

Solution (Python):
n = input()
print (n - 2) * 180

Solution (Python):
print((int(input())-2)*180)

Solution (Python):
n = int(input())
print(180*(n-2))

Solution (Python):


N = int(input())

deg_sum = (N-2)*180
print(int(deg_sum))

Solution (Python):
print((int(input()) - 2) * 180)

Solution (Python):
print(180 * (int(input()) - 2))

Solution (Python):

n = int(input())

print(int((180 - 360/n) * n))

Solution (Python):
n=int(input())
print((n-2)*180)

Solution (Python):
n = int(input())
print((n-2)*180)

Solution (Python):
N = int(input())

print((N - 2) * 180)

Solution (Python):
N = int(input())
print((N-2)*180)

Solution (Python):
l = raw_input().split()
N = int(l[0])
print(180 * (N - 2))

Solution (Python):
N = int(input())
print(180 * (N -2))

Solution (Python):
N = int(input())
print((N-2)*180)

Solution (Python):
N = int(input())
print(180 * (N-2))

Solution (Python):
s=int(input())
print(180*(s-2))

Solution (Python):
N = int(input())

print(180*(N-2))

Solution (Python):
N = int(input())

print(180*(N-2))

Solution (Python):
n = int(input())

base = 180

print(180+ base*(n-3))

Solution (Python):
n = int(input())
print(180 * (n - 2))

Solution (Python):
N = int(input())
print((N-2)*180)

Solution (Python):

import sys
import math
from bisect import bisect_left
from bisect import bisect_right
import collections
import copy
import heapq
input = sys.stdin.readline
 










def main():
	
	N = int(input())
	
	
	

	tmp = (180 * (N-2) )

	print(tmp)

if __name__ == "__main__":
	main()

Solution (Python):
N = int(input())
ans = 180*N -360
print(ans)

Solution (Python):
n = int(input())



print(180*(n-2))

Solution (Python):


def main():
    a = int(input())
    
    
    print(180 * (a - 2))



if __name__ == '__main__':
    main()

Solution (Python):
print(180*(int(input())-2))

Solution (Python):
N = int(input())
S = 180 * (N - 2)
print(S)

Solution (Python):
N = int(input())

print (180 * (N-2))

Solution (Python):
N = [int(i) for i in input().split()][0]

print(180*(N-2))

Solution (Python):
N = int(input())
print((N-2)*180)

Solution (Python):
print(180 * (int(input()) - 2))

Solution (Python):
print(180*(int(input()) - 2))

Solution (Python):

n = int(input())

print(180 * (n - 2))

Solution (Python):
N = int(input())
print((N - 2) * 180 )

Solution (Python):
N =int(input())
print(180*(N-2))

Solution (Python):
n = int(input())

print(180 * (n - 2))

Solution (Python):
n = int(input())
print(180*(n-2))

Solution (Python):
n=int(input())
print(180*(n-2))

Solution (Python):
N=int(input())

print(180*(N-2))

Solution (Python):
N = int(input())
print(180*(N-2))

Solution (Python):
a = int(input())
print(180*(a-2))

Solution (Python):
n = int(input())
calc = 180*(n-2)
print(calc)

Solution (Python):
print(180*(int(input())-2))

Solution (Python):
n = int(input())
print(180*(n-2))

Solution (Python):
n = int(input())
print(180 * (n - 2))

Solution (Python):
n=int(input())
print(180*(n-2))

Solution (Python):
n = int(input())
print((n-2)*180)

Solution (Python):
N=int(input())
print(180*(N-2))

Solution (Python):

import sys


def solve(N: int):
    print(180*(N-2))
    return



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    N = int(next(tokens))  
    solve(N)

if __name__ == '__main__':
    main()

Solution (Python):
import sys

readline = sys.stdin.readline

N = int(readline())

print((N - 2) * 180)

Solution (Python):
n=int(input())
print((n-2)*180)

Solution (Python):
import sys
from collections import deque
import copy
import math
def get_read_func(fileobject):
    if fileobject == None :
        return raw_input
    else:
        return fileobject.readline



def main():
    if len(sys.argv) > 1:
        f = open(sys.argv[1])
    else:
        f = None
    read_func = get_read_func(f);
    input_raw = read_func().strip().split()
    [N] = [int(input_raw[0])]
    print (N - 2) * 180

if __name__ == '__main__':
    main()

Solution (Python):
N = int(input())

print(180 * (N - 2))

Solution (Python):
i = int(input())
print((i-2)*180)

Solution (Python):
print(int(input())*180-360)

Solution (Python):


def main():
    a = int(input())
    
    
    print(180 * (a - 2))



if __name__ == '__main__':
    main()

Solution (Python):


import itertools
from collections import Counter
from collections import defaultdict
import bisect
from heapq import heappush, heappop

def main():
    N = int(input())
    print((N - 2) * 180)

if __name__ == '__main__':
    main()

Solution (Python):
print((int(input())-2)*180)

Solution (Python):
N = int(input())

print((N-2)*180)

Solution (Python):
N = int(input())
ans = 180 * (N-2)
print(ans)

Solution (Python):
n = int(input())
print(180*(n-2))

Solution (Python):
from sys import stdin

def main():
    N = int(input())
    print(180 * (N - 2))

input = lambda: stdin.readline()
main()

Solution (Python):




def main():
  print((int(input()) - 2) * 180)


if __name__ == '__main__':
  main()

Solution (Python):

n = int(input())
print(180 * (n - 2))

Solution (Python):
N=int(input())
print((N-2)*180)

Solution (Python):
N=int(input())

print(180*(N-2))

Solution (Python):
n=int(input())
print(180*(n-2))

Solution (Python):
N=int(input())
print((N-2)*180)

Solution (Python):
N = int(input())
print(180 * (N - 2))

Solution (Python):
N = int(input())
print((N - 2) * 180)

Solution (Python):
N=int(input())
print((N-2)*180)

Solution (Python):

N = int(input())

print ((N-2)*180)

Solution (Python):
A = int(input())
ans = 180 * (A-2)
print(ans)

Solution (Python):
n = int(input())

print(180 * (n -2))

Solution (Python):
A=int(input())
print(180*(A-2))

Solution (Python):
N = int(input())
print(180*(N-2))

Solution (Python):
N = int(input())
print((N-2)*180)

Solution (Python):
N = int(input())

print((N - 2) * 180)

Solution (Python):
n = int(input())
print(str((n-2)*180))

Solution (Python):
import sys
input = sys.stdin.readline

n = int(input())
print(180*(n-2))

Solution (Python):
print((int(input())-2)*180)

Solution (Python):
N = int(input())
ans = 180 * (N-2)
print(ans)

Solution (Python):
n = int(input())
print((n-2)*180)

Solution (Python):
N = int(input())
K=180*(N-3)+180
print(K)

Solution (Python):
n = int(input())
print(180 * (n - 2))

Solution (Python):
N = int(input())
print(int((N-2)*180))

Solution (Python):
N = int(input())

print(180 * (N-2))

Solution (Python):
N = int(input())
ans = 180*(N-2)
print(ans)

Solution (Python):
n = int(input())
print((n-2) * 180)

Solution (Python):


N = int(input())





print((N-2)*180)

Solution (Python):
N = int(input())
print(int(180 * (N-2)))

Solution (Python):
import sys, math, collections, heapq, itertools
def gcd(a, b):
    a, b = max(a, b), min(a, b)
    while a % b > 0: a, b = b, a % b
    return b
  
def solve():
    file = sys.stdin.readline 
    INF = 10 ** 25
    mod = 7 + 10 ** 9
    N = int(file())
    print(180 * (N - 2))
    return 0
  
if __name__ == "__main__":
    solve()

Solution (Python):
N = int(input())
print((N-2)*180)

Solution (Python):
N = int(input())
print(180 * (N - 2))

Solution (Python):
n = int(input())
print(180 * (n - 2))

Solution (Python):
n = input()
n = int(n)
ans = 180 * (n - 2)
print(ans)

Solution (Python):
n=int(input())
print(90*(2*n-4))

Solution (Python):
N = int(input())
print(180 * (N -2))

Solution (Python):
n=int(input())
print((n-2)*180)

Solution (Python):
a = int(input())


print(180*(a-2))

Solution (Python):
n = int(input())
print(180 + (n-3)*180)

Solution (Python):
N = int(input())

print(180*(N-2))

Solution (Python):

import sys
INF = float("inf")


def solve(N: int):
    print(180*(N-2))
    return


def main():

    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    N = int(next(tokens))  
    solve(N)


if __name__ == '__main__':
    main()

Solution (Python):
n=int(input())
print((n-2)*180)

Solution (Python):
N = int(input())

print((N-2)*180)

Solution (Python):
N = int(input())
print(180 * (N-2))

Solution (Python):
n = int(input())
print((n-2)*180)

Solution (Python):
n = int(input())
print(180*(n-2))

Solution (Python):
N = int(input())
print((N-2)*180)

Solution (Python):

 
import math
import numpy as np
import random
import copy
import statistics 
import bisect
import heapq
from collections import defaultdict 




N = int(input())

print((N-2)*180)

Solution (Python):
n = int(input())
print((n - 2) * 180)

Solution (Python):
n = int(input())
print(180*(n-2))

Solution (Python):
n = int(input())

ans = (n-2) * 180
print(ans)

Solution (Python):
n = int(input())
p = 180*(n-2)
print(p)

Solution (Python):
if __name__ == '__main__':
    N = int(input())
    print(180*(N-2))

Solution (Python):
N = int(input())



print((N-3)*180 + 180)

Solution (Python):
import sys
input=sys.stdin.readline
from collections import deque
from heapq import heappush,heappop
import re

def int_raw():
    return int(input())
 
def ss_raw():
    return input().split()
 
def ints_raw():
    return tuple(map(int, ss_raw()))


def main():
    N= int_raw()
    return (N-2)*180


print(main())

Solution (Python):
n = int(input())
print((n-2)*180)

Solution (Python):
n=int(input())
print(180*n-360)

Solution (Python):
i = int(input())
print((i-2)*180)

Solution (Python):



a = int(input())
print((a-2)*180)

Solution (Python):
a=int(input())
print(180*(a-2))

Solution (Python):
n = int(input())
print((n-2)*180)

Solution (Python):
def main():
    n = int(input())
    print(180*(n-2))

if __name__ == '__main__':
    main()

Solution (Python):
n=int(input())
print(180*(n-2))

Solution (Python):
N = int(input())

print(180*(N-2))

Solution (Python):

n = int(input())
print(180 * (n - 2))

Solution (Python):
N=int(input())
print((N-2)*180)

Solution (Python):
n=int(input())
print((n-2)*180)

Solution (Python):
N = int(input())
print(int((N-2)*180))

Solution (Python):
n = int(input())

print(180 * (n - 2))

Solution (Python):
N = int(input())

print((N-2)*180)

Solution (Python):
N=int(input())

print(180*(N-2))

Solution (Python):
n = int(input())
print((n - 2)* 180)

Solution (Python):
N = int(input())
print(180*(N-2))

Solution (Python):
n = int(input())
print((n-2)*180)

Solution (Python):
N = int(input())
print((N-2)*180)

Solution (Python):

 
import math
import numpy as np
import random
import copy
import statistics 
import bisect
import heapq
from collections import defaultdict 




N = int(input())

print((N-2)*180)

Solution (Python):
n = int(input())
print(((n-2)*180))

Solution (Python):
N = int(input())
print(180 * (N - 2))

Solution (Python):
N =int(input())
print((N-2)*180)