s = input()
cnt = 0
for i in range(len(s)):
    if s[i] == "o":
        cnt += 1
if cnt+ 15 - len(s) >= 8:
    print("YES")
else:
    print("NO") s = input() s input() input cnt = 0 cnt 0 for i in range(len(s)):
    if s[i] == "o":
        cnt += 1 i range(len(s)) range len(s) len s if s[i] == "o":
        cnt += 1 s[i] == "o" s[i] s i "o" cnt += 1 cnt 1 if cnt+ 15 - len(s) >= 8:
    print("YES")
else:
    print("NO") cnt+ 15 - len(s) >= 8 cnt+ 15 - len(s) cnt+ 15 cnt 15 len(s) len s 8 print("YES") print "YES" print("NO") print "NO" s = input() input() s cnt += 1 1 cnt cnt = 0 0 cnt
s = input()
cnt = 0
for i in range(len(s)):
    if s[i] == "o":
        cnt += 1
if cnt+ 15 - len(s) >= 8:
    print("YES")
else:
    print("NO")