from collections import Counter

S = input()
counter = Counter(S)
if counter['x'] <= 7:
  print('YES')
else:
  print('NO') from collections import Counter S = input() S input() input counter = Counter(S) counter Counter(S) Counter S if counter['x'] <= 7:
  print('YES')
else:
  print('NO') counter['x'] <= 7 counter['x'] counter 'x' 7 print('YES') print 'YES' print('NO') print 'NO' counter = Counter(S) Counter(S) counter S = input() input() S
from collections import Counter

S = input()
counter = Counter(S)
if counter['x'] <= 7:
  print('YES')
else:
  print('NO')