count=0
s=input()
for i in range(0,len(s)):
  if(s[i]=='x'):
    count=count+1
if(count>=8):
  print("NO")
else:
  print("YES") count=0 count 0 s=input() s input() input for i in range(0,len(s)):
  if(s[i]=='x'):
    count=count+1 i range(0,len(s)) range 0 len(s) len s if(s[i]=='x'):
    count=count+1 s[i]=='x' s[i] s i 'x' count=count+1 count count+1 count 1 if(count>=8):
  print("NO")
else:
  print("YES") count>=8 count 8 print("NO") print "NO" print("YES") print "YES" count=count+1 count+1 count count=0 0 count s=input() input() s
count=0
s=input()
for i in range(0,len(s)):
  if(s[i]=='x'):
    count=count+1
if(count>=8):
  print("NO")
else:
  print("YES")