import collections

S = [s for s in input()]
k = len(S)
c = collections.Counter(S)
if 15 - k + c["o"] >= 8:
  print("YES")
else:
  print("NO") import collections collections s for s in input() for s in input() s input() input for s in input() s S = [s for s in input()] S [s for s in input()] k = len(S) k len(S) len S c = collections.Counter(S) c collections.Counter(S) collections.Counter collections Counter S if 15 - k + c["o"] >= 8:
  print("YES")
else:
  print("NO") 15 - k + c["o"] >= 8 15 - k + c["o"] 15 - k 15 k c["o"] c "o" 8 print("YES") print "YES" print("NO") print "NO" S = [s for s in input()] [s for s in input()] S c = collections.Counter(S) collections.Counter(S) c k = len(S) len(S) k
import collections

S = [s for s in input()]
k = len(S)
c = collections.Counter(S)
if 15 - k + c["o"] >= 8:
  print("YES")
else:
  print("NO")