import sys
readline = sys.stdin.buffer.readline
def even(n): return 1 if n%2==0 else 0

lst1 = ["o"]*15
s = readline().rstrip().decode('utf-8')
for i in range(len(s)):
    lst1[i] = s[i]

if lst1.count("o") >= 8:
    print("YES")
else:
    print("NO") import sys sys readline = sys.stdin.buffer.readline readline sys.stdin.buffer.readline sys.stdin.buffer sys.stdin sys stdin buffer readline def even(n): return 1 if n%2==0 else 0 even n n lst1 = ["o"]*15 lst1 ["o"]*15 ["o"] "o" 15 s = readline().rstrip().decode('utf-8') s readline().rstrip().decode('utf-8') ().rstrip().decode ().rstrip() ().rstrip () readline rstrip decode 'utf-8' for i in range(len(s)):
    lst1[i] = s[i] i range(len(s)) range len(s) len s lst1[i] = s[i] lst1[i] lst1 i s[i] s i if lst1.count("o") >= 8:
    print("YES")
else:
    print("NO") lst1.count("o") >= 8 lst1.count("o") lst1.count lst1 count "o" 8 print("YES") print "YES" print("NO") print "NO" def even(n): return 1 if n%2==0 else 0 def even(n): return 1 if n%2==0 else 0 even lst1 = ["o"]*15 ["o"]*15 lst1 s = readline().rstrip().decode('utf-8') readline().rstrip().decode('utf-8') s readline = sys.stdin.buffer.readline sys.stdin.buffer.readline readline
import sys
readline = sys.stdin.buffer.readline
def even(n): return 1 if n%2==0 else 0

lst1 = ["o"]*15
s = readline().rstrip().decode('utf-8')
for i in range(len(s)):
    lst1[i] = s[i]

if lst1.count("o") >= 8:
    print("YES")
else:
    print("NO")