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.
# -*- coding: utf-8 -*-
s = str(input())
ans = list(s)

if len(ans) < 8:
    print('YES')
elif len(ans) - ans.count('o') <= 7:
    print('YES')
else:
    print('NO')    

# -*- coding: utf-8 -*-
n = int(input())
ans = (n - 2) * 180
print(ans)