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