import numpy as np

k = input()
n = [1 if i=="o" else 0 for i in k]

num = 15 - len(n)
if num >= 8-sum(n):
    print("YES")
else:
    print("NO") import numpy as np numpy k = input() k input() input 1 if i=="o" else 0 for i in k for i in k i k for i in k 1 if i=="o" else 0 i=="o" i "o" 1 0 n = [1 if i=="o" else 0 for i in k] n [1 if i=="o" else 0 for i in k] num = 15 - len(n) num 15 - len(n) 15 len(n) len n if num >= 8-sum(n):
    print("YES")
else:
    print("NO") num >= 8-sum(n) num 8-sum(n) 8 sum(n) sum n print("YES") print "YES" print("NO") print "NO" k = input() input() k num = 15 - len(n) 15 - len(n) num n = [1 if i=="o" else 0 for i in k] [1 if i=="o" else 0 for i in k] n
import numpy as np

k = input()
n = [1 if i=="o" else 0 for i in k]

num = 15 - len(n)
if num >= 8-sum(n):
    print("YES")
else:
    print("NO")