s = input()
c=0
n = list(map(str, s))

for i in n :
    if i == 'o' :
        c +=1
        
if c >= 8 or (8-c) <= 15 - len(n) :
    print('YES')
else :
    print('NO') s = input() s input() input c=0 c 0 n = list(map(str, s)) n list(map(str, s)) list map(str, s) map str s for i in n :
    if i == 'o' :
        c +=1
         i n if i == 'o' :
        c +=1
         i == 'o' i 'o' c +=1 c 1 if c >= 8 or (8-c) <= 15 - len(n) :
    print('YES')
else :
    print('NO') c >= 8 or (8-c) <= 15 - len(n) c >= 8 c 8 (8-c) <= 15 - len(n) 8-c 8 c 15 - len(n) 15 len(n) len n print('YES') print 'YES' print('NO') print 'NO' s = input() input() s c=0 0 c n = list(map(str, s)) list(map(str, s)) n c +=1 1 c
s = input()
c=0
n = list(map(str, s))

for i in n :
    if i == 'o' :
        c +=1
        
if c >= 8 or (8-c) <= 15 - len(n) :
    print('YES')
else :
    print('NO')