
def examB():
    S = SI()
    ans = "YES"
    if S.count("x")>=8:
        ans = "NO"
    print(ans)

from string import digits
import sys,copy,bisect,itertools,math
from heapq import heappop,heappush,heapify
from collections import Counter,defaultdict,deque
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))
def LS(): return sys.stdin.readline().split()
def SI(): return sys.stdin.readline().strip()
mod = 10**9 + 7
inf = float('inf')

examB() def examB():
    S = SI()
    ans = "YES"
    if S.count("x")>=8:
        ans = "NO"
    print(ans) examB S = SI() S SI() SI ans = "YES" ans "YES" if S.count("x")>=8:
        ans = "NO"
     S.count("x")>=8 S.count("x") S.count S count "x" 8 ans = "NO" ans "NO" print(ans) print ans from string import digits import sys,copy,bisect,itertools,math sys copy bisect itertools math from heapq import heappop,heappush,heapify from collections import Counter,defaultdict,deque def I(): return int(sys.stdin.readline()) I def LI(): return list(map(int,sys.stdin.readline().split())) LI def LS(): return sys.stdin.readline().split() LS def SI(): return sys.stdin.readline().strip() SI mod = 10**9 + 7 mod 10**9 + 7 10**9 10 9 7 inf = float('inf') inf float('inf') float 'inf' examB() examB mod = 10**9 + 7 10**9 + 7 mod def I(): return int(sys.stdin.readline()) def I(): return int(sys.stdin.readline()) I def LI(): return list(map(int,sys.stdin.readline().split())) def LI(): return list(map(int,sys.stdin.readline().split())) LI def examB():
    S = SI()
    ans = "YES"
    if S.count("x")>=8:
        ans = "NO"
    print(ans) def examB():
    S = SI()
    ans = "YES"
    if S.count("x")>=8:
        ans = "NO"
    print(ans) examB def SI(): return sys.stdin.readline().strip() def SI(): return sys.stdin.readline().strip() SI def LS(): return sys.stdin.readline().split() def LS(): return sys.stdin.readline().split() LS inf = float('inf') float('inf') inf

def examB():
    S = SI()
    ans = "YES"
    if S.count("x")>=8:
        ans = "NO"
    print(ans)

from string import digits
import sys,copy,bisect,itertools,math
from heapq import heappop,heappush,heapify
from collections import Counter,defaultdict,deque
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))
def LS(): return sys.stdin.readline().split()
def SI(): return sys.stdin.readline().strip()
mod = 10**9 + 7
inf = float('inf')

examB()
