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



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



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



        
