#temprate
from sys import setrecursionlimit
setrecursionlimit(10**6)
from collections import Counter
def inputlist(): return [int(i) for i in input().split()]
#temprate

S = list(input())
c = Counter(S)
if 0<=c['x']<=7:
    print("YES")
else:
    print("NO") from sys import setrecursionlimit setrecursionlimit(10**6) setrecursionlimit 10**6 10 6 from collections import Counter int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i def inputlist(): return [int(i) for i in input().split()]
#temprate inputlist S = list(input()) S list(input()) list input() input c = Counter(S) c Counter(S) Counter S if 0<=c['x']<=7:
    print("YES")
else:
    print("NO") 0<=c['x']<=7 0<=c['x'] 0 c['x'] c 'x' 7 print("YES") print "YES" print("NO") print "NO" c = Counter(S) Counter(S) c S = list(input()) list(input()) S def inputlist(): return [int(i) for i in input().split()]
#temprate def inputlist(): return [int(i) for i in input().split()]
#temprate inputlist
#temprate
from sys import setrecursionlimit
setrecursionlimit(10**6)
from collections import Counter
def inputlist(): return [int(i) for i in input().split()]
#temprate

S = list(input())
c = Counter(S)
if 0<=c['x']<=7:
    print("YES")
else:
    print("NO")