s=[x for x in input()]

if(s.count('x')>7):
  print("NO")
else:
  print("YES") x for x in input() for x in input() x input() input for x in input() x s=[x for x in input()] s [x for x in input()] if(s.count('x')>7):
  print("NO")
else:
  print("YES") s.count('x')>7 s.count('x') s.count s count 'x' 7 print("NO") print "NO" print("YES") print "YES" s=[x for x in input()] [x for x in input()] s
s=[x for x in input()]

if(s.count('x')>7):
  print("NO")
else:
  print("YES")