S=input()
print("YES" if S.count("o")+(15-len(S))>=8 else "NO") S=input() S input() input print("YES" if S.count("o")+(15-len(S))>=8 else "NO") print "YES" if S.count("o")+(15-len(S))>=8 else "NO" S.count("o")+(15-len(S))>=8 S.count("o")+(15-len(S)) S.count("o") S.count S count "o" 15-len(S) 15 len(S) len S 8 "YES" "NO" S=input() input() S
S=input()
print("YES" if S.count("o")+(15-len(S))>=8 else "NO")
