from sys import stdin

s = stdin.readline().rstrip()
point = 0
for i in s:
    if i == "x":
        point += 1
if point >= 8:
    print("NO")
else:
    print("YES") from sys import stdin s = stdin.readline().rstrip() s stdin.readline().rstrip() stdin.readline().rstrip stdin.readline() stdin.readline stdin readline rstrip point = 0 point 0 for i in s:
    if i == "x":
        point += 1 i s if i == "x":
        point += 1 i == "x" i "x" point += 1 point 1 if point >= 8:
    print("NO")
else:
    print("YES") point >= 8 point 8 print("NO") print "NO" print("YES") print "YES" point += 1 1 point point = 0 0 point s = stdin.readline().rstrip() stdin.readline().rstrip() s
from sys import stdin

s = stdin.readline().rstrip()
point = 0
for i in s:
    if i == "x":
        point += 1
if point >= 8:
    print("NO")
else:
    print("YES")