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