#!/usr/bin/env python3
s = input()
victory = s.count("o")
if 15 - len(s) + victory >= 8: print("YES")
else: print("NO") s = input() s input() input victory = s.count("o") victory s.count("o") s.count s count "o" if 15 - len(s) + victory >= 8: print("YES")
else: print("NO") 15 - len(s) + victory >= 8 15 - len(s) + victory 15 - len(s) 15 len(s) len s victory 8 s = input() input() s victory = s.count("o") s.count("o") victory
#!/usr/bin/env python3
s = input()
victory = s.count("o")
if 15 - len(s) + victory >= 8: print("YES")
else: print("NO")