import sys
S = input()
cnt=0
for i in range(len(S)):
  if S[i] == 'x':
    cnt += 1
  if cnt >= 8:
    print('NO')
    sys.exit()
print('YES') import sys sys S = input() S input() input cnt=0 cnt 0 for i in range(len(S)):
  if S[i] == 'x':
    cnt += 1
  if cnt >= 8:
    print('NO')
    sys.exit() i range(len(S)) range len(S) len S if S[i] == 'x':
    cnt += 1
   S[i] == 'x' S[i] S i 'x' cnt += 1 cnt 1 if cnt >= 8:
    print('NO')
    sys.exit() cnt >= 8 cnt 8 print('NO') print 'NO' sys.exit() sys.exit sys exit print('YES') print 'YES' S = input() input() S cnt += 1 1 cnt cnt=0 0 cnt
import sys
S = input()
cnt=0
for i in range(len(S)):
  if S[i] == 'x':
    cnt += 1
  if cnt >= 8:
    print('NO')
    sys.exit()
print('YES')