from sys import stdin
S = stdin.readline().rstrip()
ans = 0
for s in S:
    if s == 'o':
        ans += 1
if ans + (15-len(S)) >= 8:
    print('YES')
else:
    print('NO') from sys import stdin S = stdin.readline().rstrip() S stdin.readline().rstrip() stdin.readline().rstrip stdin.readline() stdin.readline stdin readline rstrip ans = 0 ans 0 for s in S:
    if s == 'o':
        ans += 1 s S if s == 'o':
        ans += 1 s == 'o' s 'o' ans += 1 ans 1 if ans + (15-len(S)) >= 8:
    print('YES')
else:
    print('NO') ans + (15-len(S)) >= 8 ans + (15-len(S)) ans 15-len(S) 15 len(S) len S 8 print('YES') print 'YES' print('NO') print 'NO' ans += 1 1 ans S = stdin.readline().rstrip() stdin.readline().rstrip() S ans = 0 0 ans
from sys import stdin
S = stdin.readline().rstrip()
ans = 0
for s in S:
    if s == 'o':
        ans += 1
if ans + (15-len(S)) >= 8:
    print('YES')
else:
    print('NO')
