sti = input()
x = sti.count("o") + (15 - len(sti))
if x >= 8:
  print("YES")
else:
  print("NO") sti = input() sti input() input x = sti.count("o") + (15 - len(sti)) x sti.count("o") + (15 - len(sti)) sti.count("o") sti.count sti count "o" 15 - len(sti) 15 len(sti) len sti if x >= 8:
  print("YES")
else:
  print("NO") x >= 8 x 8 print("YES") print "YES" print("NO") print "NO" sti = input() input() sti x = sti.count("o") + (15 - len(sti)) sti.count("o") + (15 - len(sti)) x
sti = input()
x = sti.count("o") + (15 - len(sti))
if x >= 8:
  print("YES")
else:
  print("NO")