import sys
input = sys.stdin.readline
sys.setrecursionlimit(10000000)
from collections import defaultdict
from bisect import *
mod = 10**9+7

S = input()
if S.count('x') >= 8:
    print('NO')
else:
    print('YES') import sys sys input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline sys.setrecursionlimit(10000000) sys.setrecursionlimit sys setrecursionlimit 10000000 from collections import defaultdict from bisect import * mod = 10**9+7 mod 10**9+7 10**9 10 9 7 S = input() S input() input if S.count('x') >= 8:
    print('NO')
else:
    print('YES') S.count('x') >= 8 S.count('x') S.count S count 'x' 8 print('NO') print 'NO' print('YES') print 'YES' mod = 10**9+7 10**9+7 mod S = input() input() S input = sys.stdin.readline sys.stdin.readline input
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10000000)
from collections import defaultdict
from bisect import *
mod = 10**9+7

S = input()
if S.count('x') >= 8:
    print('NO')
else:
    print('YES')
