from collections import Counter,defaultdict,deque
from heapq import heappop,heappush,heapify
import sys,bisect,math,itertools,pprint
sys.setrecursionlimit(10**8)
mod = 10**9+7
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))
def inpln(n): return list(int(sys.stdin.readline()) for i in range(n))

s = input()
n = len(s)
if s.count('o') + 15 - n >= 8:
    print('YES')
else:
    print('NO') from collections import Counter,defaultdict,deque from heapq import heappop,heappush,heapify import sys,bisect,math,itertools,pprint sys bisect math itertools pprint sys.setrecursionlimit(10**8) sys.setrecursionlimit sys setrecursionlimit 10**8 10 8 mod = 10**9+7 mod 10**9+7 10**9 10 9 7 def inp(): return int(sys.stdin.readline()) inp def inpl(): return list(map(int, sys.stdin.readline().split())) inpl def inpln(n): return list(int(sys.stdin.readline()) for i in range(n)) inpln n n s = input() s input() input n = len(s) n len(s) len s if s.count('o') + 15 - n >= 8:
    print('YES')
else:
    print('NO') s.count('o') + 15 - n >= 8 s.count('o') + 15 - n s.count('o') + 15 s.count('o') s.count s count 'o' 15 n 8 print('YES') print 'YES' print('NO') print 'NO' mod = 10**9+7 10**9+7 mod def inpl(): return list(map(int, sys.stdin.readline().split())) def inpl(): return list(map(int, sys.stdin.readline().split())) inpl def inp(): return int(sys.stdin.readline()) def inp(): return int(sys.stdin.readline()) inp def inpln(n): return list(int(sys.stdin.readline()) for i in range(n)) def inpln(n): return list(int(sys.stdin.readline()) for i in range(n)) inpln s = input() input() s n = len(s) len(s) n
from collections import Counter,defaultdict,deque
from heapq import heappop,heappush,heapify
import sys,bisect,math,itertools,pprint
sys.setrecursionlimit(10**8)
mod = 10**9+7
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))
def inpln(n): return list(int(sys.stdin.readline()) for i in range(n))

s = input()
n = len(s)
if s.count('o') + 15 - n >= 8:
    print('YES')
else:
    print('NO')