s = input()
n = 0
m = 15 - len(s)

for i in range(len(s)):
    if s[i] == "o":
        n += 1

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

for i in range(len(s)):
    if s[i] == "o":
        n += 1

if n + m >= 8:
    print("YES")
else:
    print("NO")
