def possible(s):
  return 8 - s.count('o') <= 15 - len(s)

s = input()
if possible(s):
  print("YES")
else:
  print("NO") def possible(s):
  return 8 - s.count('o') <= 15 - len(s) possible return 8 - s.count('o') <= 15 - len(s) 8 - s.count('o') <= 15 - len(s) 8 - s.count('o') 8 s.count('o') s.count s count 'o' 15 - len(s) 15 len(s) len s s s s = input() s input() input if possible(s):
  print("YES")
else:
  print("NO") possible(s) possible s print("YES") print "YES" print("NO") print "NO" def possible(s):
  return 8 - s.count('o') <= 15 - len(s) def possible(s):
  return 8 - s.count('o') <= 15 - len(s) possible s = input() input() s
def possible(s):
  return 8 - s.count('o') <= 15 - len(s)

s = input()
if possible(s):
  print("YES")
else:
  print("NO")