import sys
input = sys.stdin.readline

S = list(input().strip())

m = {
    "o": 0,
    "x": 0,
}

for v in S:
    m[v] += 1
    
if m["x"] < 8:
    print("YES")
else:
    print("NO") import sys sys input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline S = list(input().strip()) S list(input().strip()) list input().strip() ().strip () input strip m = {
    "o": 0,
    "x": 0,
} m {
    "o": 0,
    "x": 0,
} "o" "o" 0 "x" "x" 0 for v in S:
    m[v] += 1
     v S m[v] += 1 m[v] m v 1 if m["x"] < 8:
    print("YES")
else:
    print("NO") m["x"] < 8 m["x"] m "x" 8 print("YES") print "YES" print("NO") print "NO" input = sys.stdin.readline sys.stdin.readline input S = list(input().strip()) list(input().strip()) S m = {
    "o": 0,
    "x": 0,
} {
    "o": 0,
    "x": 0,
} m
import sys
input = sys.stdin.readline

S = list(input().strip())

m = {
    "o": 0,
    "x": 0,
}

for v in S:
    m[v] += 1
    
if m["x"] < 8:
    print("YES")
else:
    print("NO")