S=input()
x=S.count("x")
if x<=7:
  print("YES")
else:
  print("NO") S=input() S input() input x=S.count("x") x S.count("x") S.count S count "x" if x<=7:
  print("YES")
else:
  print("NO") x<=7 x 7 print("YES") print "YES" print("NO") print "NO" S=input() input() S x=S.count("x") S.count("x") x
S=input()
x=S.count("x")
if x<=7:
  print("YES")
else:
  print("NO")