S = input()
num = 0
for i in range(len(S)):
  if S[i] == "x":
    num += 1
if num <= 7:
  print("YES")
else:
  print("NO") S = input() S input() input num = 0 num 0 for i in range(len(S)):
  if S[i] == "x":
    num += 1 i range(len(S)) range len(S) len S if S[i] == "x":
    num += 1 S[i] == "x" S[i] S i "x" num += 1 num 1 if num <= 7:
  print("YES")
else:
  print("NO") num <= 7 num 7 print("YES") print "YES" print("NO") print "NO" num += 1 1 num S = input() input() S num = 0 0 num
S = input()
num = 0
for i in range(len(S)):
  if S[i] == "x":
    num += 1
if num <= 7:
  print("YES")
else:
  print("NO")