nyuuryoku=input()
a=list(nyuuryoku)
win=a.count('o')
lose=a.count('x')
day=len(a)
if (15-day)+win>=8:
  print('YES')
else:
  print('NO') nyuuryoku=input() nyuuryoku input() input a=list(nyuuryoku) a list(nyuuryoku) list nyuuryoku win=a.count('o') win a.count('o') a.count a count 'o' lose=a.count('x') lose a.count('x') a.count a count 'x' day=len(a) day len(a) len a if (15-day)+win>=8:
  print('YES')
else:
  print('NO') (15-day)+win>=8 (15-day)+win 15-day 15 day win 8 print('YES') print 'YES' print('NO') print 'NO' a=list(nyuuryoku) list(nyuuryoku) a lose=a.count('x') a.count('x') lose nyuuryoku=input() input() nyuuryoku win=a.count('o') a.count('o') win day=len(a) len(a) day
nyuuryoku=input()
a=list(nyuuryoku)
win=a.count('o')
lose=a.count('x')
day=len(a)
if (15-day)+win>=8:
  print('YES')
else:
  print('NO')