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