S = input()
count = 0
for s in S:
  if s == 'o':
    count += 1
if count + (15 - len(S)) >= 8:
  print('YES')
else:
  print('NO') S = input() S input() input count = 0 count 0 for s in S:
  if s == 'o':
    count += 1 s S if s == 'o':
    count += 1 s == 'o' s 'o' count += 1 count 1 if count + (15 - len(S)) >= 8:
  print('YES')
else:
  print('NO') count + (15 - len(S)) >= 8 count + (15 - len(S)) count 15 - len(S) 15 len(S) len S 8 print('YES') print 'YES' print('NO') print 'NO' S = input() input() S count += 1 1 count count = 0 0 count
S = input()
count = 0
for s in S:
  if s == 'o':
    count += 1
if count + (15 - len(S)) >= 8:
  print('YES')
else:
  print('NO')