#!/usr/bin/env python

from collections import deque
import itertools as ite
import sys
import math

sys.setrecursionlimit(1000000)

INF = 10 ** 18
MOD = 10 ** 9 + 7

S = raw_input()
if S.count("x") <= 7:
    print "YES"
else:
    print "NO" from collections import deque import itertools as ite itertools import sys sys import math math sys.setrecursionlimit(1000000) sys.setrecursionlimit sys setrecursionlimit 1000000 INF = 10 ** 18 INF 10 ** 18 10 18 MOD = 10 ** 9 + 7 MOD 10 ** 9 + 7 10 ** 9 10 9 7 S = raw_input() S raw_input() raw_input if S.count("x") <= 7:
    print "YES"
else:
    print "NO" S.count("x") <= 7 S.count("x") S.count S count "x" 7 print print S = raw_input() raw_input() S MOD = 10 ** 9 + 7 10 ** 9 + 7 MOD INF = 10 ** 18 10 ** 18 INF
#!/usr/bin/env python

from collections import deque
import itertools as ite
import sys
import math

sys.setrecursionlimit(1000000)

INF = 10 ** 18
MOD = 10 ** 9 + 7

S = raw_input()
if S.count("x") <= 7:
    print "YES"
else:
    print "NO"