s=input()
k=len(s)
import collections
c = collections.Counter(s)
win = c["o"]

if win+15-k>=8:
  print("YES")
else:
  print("NO") s=input() s input() input k=len(s) k len(s) len s import collections collections c = collections.Counter(s) c collections.Counter(s) collections.Counter collections Counter s win = c["o"] win c["o"] c "o" if win+15-k>=8:
  print("YES")
else:
  print("NO") win+15-k>=8 win+15-k win+15 win 15 k 8 print("YES") print "YES" print("NO") print "NO" c = collections.Counter(s) collections.Counter(s) c s=input() input() s k=len(s) len(s) k win = c["o"] c["o"] win
s=input()
k=len(s)
import collections
c = collections.Counter(s)
win = c["o"]

if win+15-k>=8:
  print("YES")
else:
  print("NO")