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